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
returntrue // expected-error {{cannot convert return expression of type 'Bool' to return type 'Int'}}
131
+
}
132
+
}
133
+
134
+
extensionString:PublicProto{
135
+
publicfunc req()->Int{
136
+
returntrue // expected-error {{cannot convert return expression of type 'Bool' to return type 'Int'}}
137
+
}
138
+
}
139
+
140
+
structInternalStructConformingToPublicProto:PublicProto{ // expected-error {{type 'InternalStructConformingToPublicProto' does not conform to protocol 'PublicProto'}}
141
+
}
142
+
143
+
extensionInternalStruct:PublicProto{ // expected-error {{type 'InternalStruct' does not conform to protocol 'PublicProto'}}
144
+
}
145
+
146
+
structInternalStructConformingToInternalProto:InternalProto{ // expected-error {{type 'InternalStructConformingToInternalProto' does not conform to protocol 'InternalProto'}}
0 commit comments