Chapter 6: Playgrounds not working with Xcode 26.1

Xcode 26.1 throws an error:

expression failed to parse (no further compiler diagnostics)

on this code

// 2
let delayedPublisher = sourcePublisher..delay(for: .seconds(delayInSeconds), scheduler: DispatchQueue.main)

Both Starter and Final playgrounds affected.

I got this error once. I think basically it is a playground bug. Most times when I get an error in playgrounds for code I think should work, I run it in a terminal app and it runs fine. I suggest checking your code in a terminal app.