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
// expected-warning @-1 {{'Q' aliases 'DefinesProtocol.P' and cannot be used here because 'DefinesProtocol' was not imported by this file; this is an error in Swift 6}}
58
+
// expected-note @-2 {{The missing import of module 'DefinesProtocol' will be added implicitly}}
59
+
60
+
@inlinablepublicfunc takesC(_ c:C){
61
+
c.foo()
62
+
// expected-warning @-1 {{instance method 'foo()' cannot be used in an '@inlinable' function because 'DefinesExtension' was not imported by this file; this is an error in Swift 6}}
63
+
// expected-note @-2 {{The missing import of module 'DefinesExtension' will be added implicitly}}
0 commit comments