You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test has been silently broken for a while due to using
-serialize-diagnostics-file, which interferes with -verify (the verify
consumer runs, but does not cause the compilation to fail). Fix the
checks and use -fallow-editor-placeholders instead to enable the correct
diagnostic mode.
(cherry picked from commit 8ffa4d4)
@implementationI// expected-warning {{warning: class 'I' does not conform to protocols 'P2' and 'P1'}} expected-note {{add stubs for missing protocol requirements}}
21
+
@implementationI// expected-warning {{class 'I' does not conform to protocols 'P2' and 'P1'}} expected-note {{add stubs for missing protocol requirements}}
@interfaceI (Category) <P3>// expected-warning {{warning: category 'Category' does not conform to protocols 'P3'}} expected-note {{add stubs for missing protocol requirements}}
32
+
@interfaceI (Category) <P3>
33
33
34
34
@end
35
35
36
-
@implementationI (Category)
36
+
@implementationI (Category)// expected-warning {{category 'Category' does not conform to protocol 'P3'}} expected-note {{add stubs for missing protocol requirements}}
@interfaceThreeProtocols <P2, P1, P3>// expected-warning {{class 'ThreeProtocols' does not conform to protocols 'P2', 'P1' and 'P3'}} expected-note {{add stubs for missing protocol requirements}}
47
+
@interfaceThreeProtocols <P2, P1, P3>
48
48
@end
49
-
@implementationThreeProtocols
49
+
@implementationThreeProtocols// expected-warning {{class 'ThreeProtocols' does not conform to protocols 'P2', 'P1' and 'P3'}} expected-note {{add stubs for missing protocol requirements}}
50
50
@end
51
51
52
-
@interfaceFourProtocols <P2, P3, P4>// expected-warning {{class 'ThreeProtocols' does not conform to protocols 'P2', 'P1', 'P3', ...}} expected-note {{add stubs for missing protocol requirements}}
52
+
@interfaceFourProtocols <P2, P3, P4>
53
53
@end
54
-
@implementationFourProtocols
54
+
@implementationFourProtocols// expected-warning {{class 'FourProtocols' does not conform to protocols 'P2', 'P1', 'P3', ...}} expected-note {{add stubs for missing protocol requirements}}
@implementationImplementsAllAvailable//expected-warning {{class 'ImplementsAllAvailable' does not conform to protocol 'TakeAvailabilityIntoAccount'}} expected-note {{add stubs for missing protocol requirements}}
0 commit comments