Skip to content

Commit d4b4cd3

Browse files
committed
spelling: because
Signed-off-by: Josh Soref <[email protected]>
1 parent f66d9bd commit d4b4cd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/attr/attr_objc.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,13 @@ enum subject_enum: Int {
273273
// Fake for access notes: @objc(subject_enumElement3) // bad-access-note-move@+2{{subject_enum.subject_enumElement4}}
274274
@objc(subject_enumElement3) // bad-access-note-move{{subject_enum.subject_enumElement3}} expected-error {{'@objc' enum case declaration defines multiple enum cases with the same Objective-C name}}{{3-31=}}
275275
case subject_enumElement3, subject_enumElement4
276-
// Becuase of the fake access-note-move above, we expect to see extra diagnostics when we run this test with both explicit @objc attributes *and* access notes:
276+
// Because of the fake access-note-move above, we expect to see extra diagnostics when we run this test with both explicit @objc attributes *and* access notes:
277277
// expected-remark@-2 * {{'@objc' enum case declaration defines multiple enum cases with the same Objective-C name}} expected-note@-2 *{{attribute 'objc' was added by access note for fancy tests}}
278278

279279
// Fake for access notes: @objc // bad-access-note-move@+2{{subject_enum.subject_enumElement6}}
280280
@objc // bad-access-note-move{{subject_enum.subject_enumElement5}} expected-error {{attribute has no effect; cases within an '@objc' enum are already exposed to Objective-C}} {{3-9=}}
281281
case subject_enumElement5, subject_enumElement6
282-
// Becuase of the fake access-note-move above, we expect to see extra diagnostics when we run this test with both explicit @objc attributes *and* access notes:
282+
// Because of the fake access-note-move above, we expect to see extra diagnostics when we run this test with both explicit @objc attributes *and* access notes:
283283
// expected-remark@-2 * {{attribute has no effect; cases within an '@objc' enum are already exposed to Objective-C}} expected-note@-2 *{{attribute 'objc' was added by access note for fancy tests}}
284284

285285
@nonobjc // expected-error {{'@nonobjc' attribute cannot be applied to this declaration}}

0 commit comments

Comments
 (0)