Open
Description
Description
The following strange code compiles incorrectly:
Reproduction
Task { @MainActor(今日は日差しが強い) in
}
Expected behavior
It should result in some kind of error.
Environment
$ swift --version
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
Additional information
No response
Metadata
Metadata
Assignees
Labels
Bug: Accepts invalidFeature → concurrency: Actor isolationFeature: Declaration and type attributesA deviation from expected or documented behavior. Also: expected but undesirable behavior.The Swift compiler itselfFeature: umbrella label for concurrency language featuresArea → compiler: Semantic analysis