Skip to content

Commit e513ec5

Browse files
committed
Make yielding contingent on CoroutineAccessors feature
1 parent 41478f4 commit e513ec5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CodeGeneration/Sources/SyntaxSupport/KeywordSpec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public enum Keyword: CaseIterable {
694694
case .yield:
695695
return KeywordSpec("yield")
696696
case .yielding:
697-
return KeywordSpec("yielding")
697+
return KeywordSpec("yielding", experimentalFeature: .coroutineAccessors)
698698
}
699699
}
700700
}

Sources/SwiftParser/generated/Parser+TokenSpecSet.swift

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/SwiftSyntax/generated/Keyword.swift

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)