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 9829b01 commit df88facCopy full SHA for df88fac
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -619,7 +619,7 @@ object Parsers {
619
val token = lookahead.token
620
if (braces == 0) {
621
if (token == query) return true
622
- if (stopScanTokens.contains(token) || in.token == RBRACE) return false
+ if (stopScanTokens.contains(token) || lookahead.token == RBRACE) return false
623
}
624
else if (token == EOF)
625
return false
0 commit comments