Skip to content

Commit 61fb200

Browse files
committed
Avoid marking ThenStmtSyntax experimental for now
1 parent 94de133 commit 61fb200

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CodeGeneration/Sources/SyntaxSupport/KeywordSpec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ public enum Keyword: CaseIterable {
646646
case .target:
647647
return KeywordSpec("target")
648648
case .then:
649-
return KeywordSpec("then", isExperimental: true)
649+
return KeywordSpec("then")
650650
case .throw:
651651
return KeywordSpec("throw", isLexerClassified: true)
652652
case .throws:

CodeGeneration/Sources/SyntaxSupport/StmtNodes.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,8 @@ public let STMT_NODES: [Node] = [
617617
Node(
618618
kind: .thenStmt,
619619
base: .stmt,
620-
isExperimental: true,
620+
// FIXME: This should be marked experimental.
621+
isExperimental: false,
621622
nameForDiagnostics: "'then' statement",
622623
documentation: """
623624
A statement used to indicate the produced value from an if/switch

0 commit comments

Comments
 (0)