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 cc7888f commit f5c167eCopy full SHA for f5c167e
Sources/SwiftParser/Lookahead.swift
@@ -274,6 +274,13 @@ extension Parser.Lookahead {
274
var lookahead = self.lookahead()
275
lookahead.eat(.leftBrace)
276
277
+ // '@_accessorBlock' is a builtin disambiguation marker.
278
+ if lookahead.peek(isAt: .identifier),
279
+ lookahead.peek().tokenText == "_accessorBlock"
280
+ {
281
+ return true;
282
+ }
283
+
284
// Eat attributes, if present.
285
while lookahead.consume(if: .atSign) != nil {
286
guard lookahead.consume(if: .identifier) != nil else {
0 commit comments