File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
CodeGeneration/Sources/SyntaxSupport Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -692,9 +692,9 @@ public enum Keyword: CaseIterable {
692692 case . wrt:
693693 return KeywordSpec ( " wrt " )
694694 case . yield:
695- return KeywordSpec ( " yield " )
695+ return KeywordSpec ( " yield " )
696696 case . yielding:
697- return KeywordSpec ( " yielding " )
697+ return KeywordSpec ( " yielding " )
698698 }
699699 }
700700}
Original file line number Diff line number Diff line change @@ -1704,11 +1704,11 @@ extension Parser {
17041704 let ( unexpectedBeforeIntroducer, introducer) = self . expect ( kind. spec)
17051705
17061706 // Map `yielding borrow` => `read`, etc.
1707- let resolvedKind : AccessorDeclSyntax . AccessorSpecifierOptions
1707+ let resolvedKind : AccessorDeclSyntax . AccessorSpecifierOptions
17081708 if yielding {
17091709 switch kind {
1710- case . borrow: resolvedKind = . read // `yielding borrow` == `read`
1711- case . mutate: resolvedKind = . modify // `yielding mutate` == `modify`
1710+ case . borrow: resolvedKind = . read // `yielding borrow` == `read`
1711+ case . mutate: resolvedKind = . modify // `yielding mutate` == `modify`
17121712 default : resolvedKind = kind
17131713 }
17141714 } else {
You can’t perform that action at this time.
0 commit comments