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
publicstructMyBinding<T>where T :MyBindableObject{ // expected-error{{internal initializer 'init(wrappedValue:)' cannot have more restrictive access than its enclosing property wrapper type 'MyBinding' (which is public)}}
7
+
publicvarwrappedValue:T
8
+
}
9
+
classBeaconDetector:MyBindableObject{
10
+
@MyBindingvardetector=BeaconDetector()
11
+
init(){
12
+
detector.undefined =45 // expected-error{{value of type 'BeaconDetector' has no member 'undefined'}}
0 commit comments