Skip to content

Commit 7297998

Browse files
authored
Spelling test syntax (#58563)
* spelling: contiguous Signed-off-by: Josh Soref <[email protected]> * spelling: implicit Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Josh Soref <[email protected]>
1 parent 7aefe01 commit 7297998

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/Syntax/Inputs/invalid.sed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ s/Z1/
88
# [0xCC, 0x82] in UTF-8 is U+0302.
99
# This character is invalid for identifier start, but valid for identifier body.
1010
# It becomes unknown token.
11-
# If this type characters are conitguous, they are concatenated to one long unknown token.
11+
# If this type characters are contiguous, they are concatenated to one long unknown token.
1212
# Marker(2) is replaced to this sequence.
1313
s/Z2/Ì‚/g
1414

test/Syntax/Outputs/round_trip_parse_gen.swift.withkinds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class C <MemberDeclBlock>{<MemberDeclListItem><FunctionDecl>
9191
super</SuperRefExpr>.init</MemberAccessExpr>()</FunctionCallExpr>
9292
}</CodeBlock></FunctionDecl></MemberDeclListItem><MemberDeclListItem><FunctionDecl>
9393

94-
func implictMember<FunctionSignature><ParameterClause>() </ParameterClause></FunctionSignature><CodeBlock>{<SequenceExpr><DiscardAssignmentExpr>
94+
func implicitMember<FunctionSignature><ParameterClause>() </ParameterClause></FunctionSignature><CodeBlock>{<SequenceExpr><DiscardAssignmentExpr>
9595
_ </DiscardAssignmentExpr><AssignmentExpr>= </AssignmentExpr><MemberAccessExpr>.foo</MemberAccessExpr></SequenceExpr><SequenceExpr><DiscardAssignmentExpr>
9696
_ </DiscardAssignmentExpr><AssignmentExpr>= </AssignmentExpr><FunctionCallExpr><MemberAccessExpr>.foo</MemberAccessExpr>(<TupleExprElement>x: <IntegerLiteralExpr>12</IntegerLiteralExpr></TupleExprElement>)</FunctionCallExpr></SequenceExpr><SequenceExpr><DiscardAssignmentExpr>
9797
_ </DiscardAssignmentExpr><AssignmentExpr>= </AssignmentExpr><FunctionCallExpr><MemberAccessExpr>.foo</MemberAccessExpr>() <ClosureExpr>{ <IntegerLiteralExpr>12 </IntegerLiteralExpr>}</ClosureExpr></FunctionCallExpr></SequenceExpr><SequenceExpr><DiscardAssignmentExpr>

test/Syntax/round_trip_parse_gen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class C {
9191
super.init()
9292
}
9393

94-
func implictMember() {
94+
func implicitMember() {
9595
_ = .foo
9696
_ = .foo(x: 12)
9797
_ = .foo() { 12 }

0 commit comments

Comments
 (0)