-
Notifications
You must be signed in to change notification settings - Fork 132
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
assertion failed: asTerm called on not-a-Term val <none> #3184
Comments
It does require input files. We can tweak the help message, I suppose.
Any hints on what could have caused it? |
Also, does passing the |
It happened after I opened the project on vscode+metals. I'd love to provide more context but unsure which file to provide; maybe
will try after I get home. |
Running with If scala-cli --power bloop exit |
thanks for the help. |
Sounds like a race condition in bloop. I see stuff like that pretty often given my workflow is based on using both metals and scala-cli simultaneously (e.g., I finish writing code in vscode, run scala-cli compile in terminal). |
I experience this every day since a few weeks on ubuntu. Always happens when metals is running on the same project. I use metals+vim. To reproduce:
|
This exception is something that should not happen when invoking the compiler normally and it is. I raised an issue scala/scala3#21947 since we don't really have enough information. Also, I realized this might be an issue related to scala/bug#13045 |
Version(s)
Scala CLI version: 1.5.0
Scala version (default): 3.5.0
OS: fedora 40 (kinoite)
Describe the bug
scala-cli suddenly fails to run simple (or any) scripts.
To Reproduce
Expected behaviour
A clear and concise description of what you expected to happen.
scala-cli works.
Additional Info
at first i thought it was due to corrupt cache, and tried
clean
but it fails with mysterious errors (usage does not state it requires input files)i searched for similar issues like #2117 and #2241, but they seems to be unrelated in terms of used scripts.
The text was updated successfully, but these errors were encountered: