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
extensionAdopter14:ProtocolRequiresInit3{} //expected-error {{type 'Adopter14' does not conform to protocol 'ProtocolRequiresInit3'}}
148
+
149
+
protocolProtocolHasSubscriptFunction{
150
+
func `subscript`() // expected-note{{protocol requires function 'subscript()' with type '() -> ()'; do you want to add a stub?}} {{74-74=\n func `subscript`() {\n <#code#>\n \}\n}}
151
+
}
152
+
classProtocolHasSubscriptFunctionAdopter:ProtocolHasSubscriptFunction{ // expected-error{{type 'ProtocolHasSubscriptFunctionAdopter' does not conform to protocol 'ProtocolHasSubscriptFunction'}}
0 commit comments