Skip to content

Commit 1aaae53

Browse files
authored
Merge pull request #41666 from eltociear/patch-30
[noImplicitCopy] fix typo in noimplicitcopy_attr.swift
2 parents d2970cd + b04d7cd commit 1aaae53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Sema/noimplicitcopy_attr.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)