You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SymbolTable required by core for finding information that is not available in SemanticDB is injected by cli using a helper from reflect, which is currently backed by scalameta's internal semanticdb-scalac-core which was written for Scala 2 class files.
We need to migrate to https://github.com/scalacenter/tasty-query or equivalent to provide exhaustive information about types compiled by dotty. While doing that, we should drop the need to using Scalameta internal structures as a contract between core & cli.
The text was updated successfully, but these errors were encountered:
bjaglin
changed the title
Improve semantic information for classpath types compiled by dotty
Improve semantic information for types compiled by dotty
Aug 24, 2024
The overhead shouldn't be too big, but it's hard to say. It's basically the addition of the compiler, which would already be added when I manage to finish the inferred type PR.
The SymbolTable required by core for finding information that is not available in SemanticDB is injected by cli using a helper from reflect, which is currently backed by scalameta's internal semanticdb-scalac-core which was written for Scala 2 class files.
scalafix/scalafix-core/src/main/scala/scalafix/internal/v1/InternalSemanticDoc.scala
Lines 68 to 82 in c6d7411
scalafix/scalafix-cli/src/main/scala/scalafix/internal/v1/Args.scala
Lines 200 to 212 in c6d7411
scalafix/scalafix-reflect/src/main/scala/scalafix/internal/reflect/ClasspathOps.scala
Lines 27 to 33 in c6d7411
We need to migrate to https://github.com/scalacenter/tasty-query or equivalent to provide exhaustive information about types compiled by dotty. While doing that, we should drop the need to using Scalameta internal structures as a contract between core & cli.
The text was updated successfully, but these errors were encountered: