scalameta / metals

Scala language server with rich IDE features 🚀

Home Page:https://scalameta.org/metals/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal invariant violated: `reportEndCompilation` was called before `processEndCompilation`

spamegg1 opened this issue · comments

Reproduction steps

  1. Create Scala-cli project using Scala-cli 1.2.1 and using Scala 3.4.1
  2. Open folder in VS Code with Metals
  3. See error
    Screenshot from 2024-03-30 16-11-53

IDE features still work OK.

Here are the reports:
reports.zip

Expected behaviour:

Should compile normally without errors.

Operating system:
Linux

Java version:
21.0.2

Editor/extension:
Visual Studio Code v1.87.2

Metals version:
1.2.2+102-8e3b9cea-SNAPSHOT

Extra context or search terms:

Workspace information:

  • Scala versions: 3.4.1
  • Build tools: 0. scala-cli
  • Build servers:
    0. scala-cli v1.2.1
  • All build tools in workspace:

Seems to be a Scala-cli issue (or maybe Bloop?)

VirtusLab/scala-cli#2829

Shall I close this?