Skip to content

Commit b243260

Browse files
committed
Renames for consistency in EffectSpecifiers
1 parent a3c2de2 commit b243260

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeGeneration/Sources/SyntaxSupport/Traits.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ public let TRAITS: [Trait] = [
5656
Child(name: "asyncSpecifier", kind: .token(choices: [.keyword(.async), .keyword(.reasync)]), isOptional: true),
5757
Child(name: "unexpectedBetweenAsyncSpecifierAndThrowsSpecifier", kind: .node(kind: .unexpectedNodes), isOptional: true),
5858
Child(name: "throwsSpecifier", kind: .token(choices: [.keyword(.throws), .keyword(.rethrows)]), isOptional: true),
59-
Child(name: "unexpectedBetweenThrowsSpecifierAndThrownType", kind: .node(kind: .unexpectedNodes), isOptional: true),
59+
Child(name: "unexpectedBetweenThrowsSpecifierAndThrownError", kind: .node(kind: .unexpectedNodes), isOptional: true),
6060
Child(
6161
name: "thrownError",
6262
kind: .node(kind: .thrownTypeClause),
6363
experimentalFeature: .typedThrows,
6464
documentation: "The specific thrown error type.",
6565
isOptional: true
6666
),
67-
Child(name: "unexpectedAfterThrownType", kind: .node(kind: .unexpectedNodes), isOptional: true),
67+
Child(name: "unexpectedAfterThrownError", kind: .node(kind: .unexpectedNodes), isOptional: true),
6868
]
6969
),
7070
Trait(

0 commit comments

Comments
 (0)