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
@storageRestrictions(initializes: x, y,) // expected-error {{expected property name in '@storageRestrictions' list}}
91
+
@storageRestrictions(initializes: x, y,)
92
92
init(initialValue){
93
93
self.x = initialValue.0
94
94
self.y = initialValue.1
@@ -98,7 +98,7 @@ struct Foo {
98
98
99
99
}
100
100
101
-
func f(in:@differentiable(reverse,)(Int)-> Int){} // expected-warning {{@differentiable' has been renamed to '@differentiable(reverse)' and will be removed in the next release}} expected-error {{unexpected ',' separator}} expected-error {{expected ',' separator}} expected-error {{unnamed parameters must be written with the empty name '_'}}
101
+
func f(in:@differentiable(reverse,)(Int)-> Int){} // expected-warning {{@differentiable' has been renamed to '@differentiable(reverse)' and will be removed in the next release}} expected-error {{expected ',' separator}} expected-error {{unnamed parameters must be written with the empty name '_'}}
0 commit comments