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.
2 parents 921a6fa + 4eeb143 commit 22199a2Copy full SHA for 22199a2
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -253,7 +253,7 @@ object Parsers {
253
/** If at end of file, issue an incompleteInputError.
254
* Otherwise issue a syntax error and skip to next safe point.
255
*/
256
- def syntaxErrorOrIncomplete(msg: => Message) =
+ def syntaxErrorOrIncomplete(msg: => Message) =
257
if (in.token == EOF) incompleteInputError(msg)
258
else {
259
syntaxError(msg)
0 commit comments