We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala 3.1.2-RC1-bin-SNAPSHOT
scala> def f[A](x: => Any) = | try x | catch { -- [E040] Syntax Error: ------------------------------------------------------------------------------------------------------------------------- 3 | catch { | ^ | '}' expected, but eof found scala> try 42 catch { -- [E040] Syntax Error: ------------------------------------------------------------------------------------------------------------------------- 1 |try 42 catch { | ^ | '}' expected, but eof found
Errored instead of consuming more user input.
Open brace is an easy signal that output is incomplete.
The text was updated successfully, but these errors were encountered:
Duplicates #4393
Sorry, something went wrong.
No branches or pull requests
Compiler version
Scala 3.1.2-RC1-bin-SNAPSHOT
Minimized code
Output
Errored instead of consuming more user input.
Expectation
Open brace is an easy signal that output is incomplete.
The text was updated successfully, but these errors were encountered: