-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
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-cli run command incorrectly reports Fatal invariant violated. #2829
Comments
I reported the same to Metals, I guess it belongs here, or to Bloop maybe? |
This seems to be the same issue as scalameta/metals#6271 scala-cli clean .
scala-cli --power bloop exit
scala-cli setup-ide . --bloop-version 1.5.12-sc-1 The issue itself is most definitely tied to Bloop and will be fixed upstream. |
Shall we open an issue there? I don't see one related. Which Bloop version introduced the problem? |
@spamegg1 No need to introduce an issue, I think, it can be tracked here. |
Thank you for the very quick workaround + resolution :-) |
Version(s)
Scala CLI version: 1.2.1
Scala version (default): 3.4.1
Scala 3.4.1, JVM (22)
WSL/Ubuntu
Describe the bug
When repeatedly executing scala-cli run command on a file that hasn't changed, scala-cli reports "Error: Fatal invariant violated:
reportEndCompilation
was called beforeprocessEndCompilation
" - but still executes the scala fileTo Reproduce
Create simple scala file (e.g. Hello World in main function)
Execute: scala-cli run ./hello.scala => works as expected
Execute again (no changes in hello.scala file): scala-cli run ./hello.scala => Fatal invariant is reported
Expected behaviour
No fatal invariant is reported
The text was updated successfully, but these errors were encountered: