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 {
93
93
case none
94
94
case noImplicitCopyCase( Klass )
95
95
96
- // We suport doing it on computed properties though.
96
+ // We support doing it on computed properties though.
97
97
@_noImplicitCopy var myMoveOnly : Builtin . NativeObject { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
98
98
return getKlass ( )
99
99
}
@@ -105,12 +105,12 @@ enum MyGenericEnum<T> {
105
105
case none
106
106
case noImplicitCopyCase( Klass )
107
107
108
- // We suport doing it on computed properties though.
108
+ // We support doing it on computed properties though.
109
109
@_noImplicitCopy var myMoveOnly : Builtin . NativeObject { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
110
110
return getKlass ( )
111
111
}
112
112
113
- // We suport doing it on computed properties though.
113
+ // We support doing it on computed properties though.
114
114
@_noImplicitCopy var myMoveOnly2 : T ? { // expected-error {{'@_noImplicitCopy' attribute can only be applied to local lets}}
115
115
return nil
116
116
}
You can’t perform that action at this time.
0 commit comments