File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ struct ConformsToMainActorProto: MainActorProtocol {
12
12
}
13
13
14
14
func testGlobalFunctions( ) {
15
- _ = publicFunc ( )
16
- _ = publicFuncWithDefaultArg ( )
15
+ let _ : Int = publicFunc ( )
16
+ let _ : Int = publicFuncWithDefaultArg ( )
17
17
#if TEST_PACKAGE
18
- _ = packageFunc ( )
18
+ let _ : Int = packageFunc ( )
19
19
#endif
20
20
constrainedGenericPublicFunction ( ConformsToPublicProto ( ) )
21
- _ = publicSpecializedFunc ( 4 )
22
- _ = publicSpecializedFunc ( ConformsToPublicProto ( ) )
21
+ let _ : Int = publicSpecializedFunc ( 4 )
22
+ let _ : ConformsToPublicProto = publicSpecializedFunc ( ConformsToPublicProto ( ) )
23
23
if #available( SwiftStdlib 5 . 1 , * ) {
24
- _ = publicFuncWithOpaqueReturnType ( )
25
- _ = publicAEICFuncWithOpaqueReturnType ( )
24
+ let _ : any PublicProto = publicFuncWithOpaqueReturnType ( )
25
+ let _ : Any = publicAEICFuncWithOpaqueReturnType ( )
26
26
}
27
27
}
28
28
You can’t perform that action at this time.
0 commit comments