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
_ =NormalProtoAssocHolder(nilasNormalStruct?) // expected-ioi-error 2 {{cannot use conformance of 'NormalStruct' to 'NormalProto' here; 'BADLibrary'}}}
caseletholder as NormalProtoAssocHolder<NormalStruct>: // okay
@@ -152,7 +152,7 @@ func internalEnum() {
152
152
_ = NormalProtoEnumUser<NormalStruct>.a // expected-ioi-error 2 {{cannot use conformance of 'NormalStruct' to 'NormalProto' here; 'BADLibrary' has been imported as implementation-only}}
153
153
}
154
154
155
-
@_neverEmitIntoClient
155
+
@export(interface)
156
156
func internalEnumNEIC(){
157
157
letx:NormalProtoEnumUser<NormalStruct>=.a // okay
158
158
_ = x
@@ -169,7 +169,7 @@ func internalFunc() {
169
169
testFuncImpl(NormalStruct.self) // expected-ioi-error {{cannot use conformance of 'NormalStruct' to 'NormalProto' here; 'BADLibrary' has been imported as implementation-only}}
0 commit comments