Description Unable to specify @MainActor for a closure with explicit empty parameters Reproduction The following code does not compile: Task { @MainActor () in } // error: Extraneous whitespace bet...
Description The following strange code compiles incorrectly: Reproduction Task { @MainActor(今日は日差しが強い) in } Expected behavior It should result in some kind of error. Environment $ swift --version s...