mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
DiagnosticVerifier: Default expected fix-it start line to the diagnostic's
This commit is contained in:
@@ -14,7 +14,7 @@ typealias DefaultDistributedActorSystem = FakeActorSystem
|
||||
// MARK: Distributed actor protocols
|
||||
|
||||
protocol WrongDistFuncs {
|
||||
distributed func notDistActor() // expected-error{{'distributed' method can only be declared within 'distributed actor'}}{{5-17=}} {{25-25=: DistributedActor}}
|
||||
distributed func notDistActor() // expected-error{{'distributed' method can only be declared within 'distributed actor'}}{{5-17=}} {{-1:25-25=: DistributedActor}}
|
||||
}
|
||||
|
||||
protocol DistProtocol: DistributedActor {
|
||||
|
||||
Reference in New Issue
Block a user