Skip to content

Commit 5c050da

Browse files
committed
Add "unsafe" keyword to the for..in loop
1 parent 3688938 commit 5c050da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CodeGeneration/Sources/SyntaxSupport/StmtNodes.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ public let STMT_NODES: [Node] = [
284284
kind: .token(choices: [.keyword(.await)]),
285285
isOptional: true
286286
),
287+
Child(
288+
name: "unsafeKeyword",
289+
kind: .token(choices: [.keyword(.unsafe)]),
290+
experimentalFeature: .unsafeExpression,
291+
isOptional: true
292+
),
287293
Child(
288294
name: "caseKeyword",
289295
kind: .token(choices: [.keyword(.case)]),

0 commit comments

Comments
 (0)