File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ enum MyEnum {
9393 case none
9494 case noImplicitCopyCase( Klass )
9595
96- // We suport doing it on computed properties though.
96+ // We support doing it on computed properties though.
9797 @_noImplicitCopy var myMoveOnly : Builtin . NativeObject { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
9898 return getKlass ( )
9999 }
@@ -105,12 +105,12 @@ enum MyGenericEnum<T> {
105105 case none
106106 case noImplicitCopyCase( Klass )
107107
108- // We suport doing it on computed properties though.
108+ // We support doing it on computed properties though.
109109 @_noImplicitCopy var myMoveOnly : Builtin . NativeObject { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
110110 return getKlass ( )
111111 }
112112
113- // We suport doing it on computed properties though.
113+ // We support doing it on computed properties though.
114114 @_noImplicitCopy var myMoveOnly2 : T ? { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
115115 return nil
116116 }
You can’t perform that action at this time.
0 commit comments