mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Isolated conformances] Start parsing 'nonisolated' on conformances
It doesn't mean anything yet, but parse it and make sure it reproduces in the module interface.
This commit is contained in:
@@ -14,3 +14,9 @@ public class MyClass { }
|
||||
extension MyClass: @MainActor MyProtocol {
|
||||
@MainActor public func f() { }
|
||||
}
|
||||
|
||||
extension MyClass: nonisolated Equatable {
|
||||
nonisolated public static func ==(lhs: MyClass, rhs: MyClass) -> Bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user