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
func getHello()->String{return"hello"} // expected-note 2 {{global function 'getHello()' is not '@usableFromInline' or public}}
13
+
14
+
@frozen
15
+
publicstructStructUsesPublishedAsPrivate{
16
+
publicvarinteger:Int=17
17
+
18
+
@ResilientWrapper(description:getHello()) // expected-error 2 {{global function 'getHello()' is internal and cannot be referenced from a property initializer in a '@frozen' type}}
0 commit comments