mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
With the acceptance of SE-0306, enable actors by default and add a ChangeLog entry. Tracked by rdar://77223763.
9 lines
181 B
Swift
9 lines
181 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
actor C {
|
|
nonisolated func f() { } // expected-error{{'nonisolated' modifier is only valid when experimental concurrency is enabled}}
|
|
}
|
|
|
|
|
|
|