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 2c74308 commit 5bd2942Copy full SHA for 5bd2942
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -353,7 +353,6 @@ object Parsers {
353
false // it's a statement that might be legal in an outer context
354
else
355
in.nextToken() // needed to ensure progress; otherwise we might cycle forever
356
- lastErrorOffset = in.offset
357
skip()
358
true
359
0 commit comments