mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This commit changes fixit messages from a question/suggestion to an imperative message for protocol conformances and switch-case. Addresses https://github.com/apple/swift/issues/67510.
13 lines
340 B
Swift
13 lines
340 B
Swift
protocol P1 {
|
|
func foo()
|
|
}
|
|
protocol P2 {
|
|
func bar()
|
|
}
|
|
class C1: P1, P2 {}
|
|
|
|
// RUN: %sourcekitd-test -req=sema %s -- %s | %FileCheck %s
|
|
// CHECK: key.description: "type 'C1' does not conform to protocol 'P1'"
|
|
// CHECK: key.description: "type 'C1' does not conform to protocol 'P2'"
|
|
// CHECK: key.description: "add stubs for conformance"
|