We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16e1e5d commit 29898f1Copy full SHA for 29898f1
Sources/SwiftParser/Patterns.swift
@@ -272,7 +272,10 @@ extension Parser.Lookahead {
272
// than likely need to be made contextual as well before finalizing their
273
// grammar.
274
case ._borrowing, .borrowing:
275
- return peek(isAt: TokenSpec(.identifier, allowAtStartOfLine: false))
+ return peek(
276
+ isAt: TokenSpec(.identifier, allowAtStartOfLine: false),
277
+ TokenSpec(.wildcard, allowAtStartOfLine: false)
278
+ )
279
default:
280
// Other keywords can be parsed unconditionally.
281
return true
0 commit comments