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
letobj=HasConstMethodAnnotatedAsMutating(a:42) // expected-note {{change 'let' to 'var' to make it mutable}}
@@ -15,4 +17,4 @@ let _ = objWMutableProperty.duplicateAnnotations()
15
17
16
18
letobjWithoutMutableProperty=NoMutableProperty(a:42) // expected-note {{change 'let' to 'var' to make it mutable}}
17
19
let _ = objWithoutMutableProperty.isConst()
18
-
let _ = objWithoutMutableProperty.nonConst() // expected-error {{cannot use mutating member on immutable value: 'objWithoutMutableProperty' is a 'let' constant}}
20
+
let _ = objWithoutMutableProperty.nonConst() // expected-error {{cannot use mutating member on immutable value: 'objWithoutMutableProperty' is a 'let' constant}}
0 commit comments