scalameta / metals

Scala language server with rich IDE features 🚀
https://scalameta.org/metals/
Apache License 2.0
2.07k stars 323 forks source link

[Scala3] Incremental compilation in Bloop ignores class deletion #3118

Open dos65 opened 2 years ago

dos65 commented 2 years ago

Steps to reproduce the behavior:

Expected behavior

   //class X
   class Main {
     val x: X = ??? // error Not found: type X
  }

It seems that the issue is on bloop side. Bloop doesn't report errors nor from command line / bsp. I can't reproduce the same in sbt/sbt-bsp.

Installation:

tgodzik commented 2 years ago

Should we open the issue in Bloop? Was it happening before 3.0.1?

dos65 commented 2 years ago

Should we open the issue in Bloop?

if there were no related fixes in 1.4.9. I wasn't sure about that as the current version in metals is 1.4.8-*.

Was it happening before 3.0.1?

Probably it would be more correct just to write scala 3. Wrote 3.0.1 just because I checked on it and higher versions

tgodzik commented 2 years ago

Let's check it after the work around https://github.com/scalacenter/bloop/pull/1477 is finished.