Open kpodsiad opened 2 years ago
I'd like to fix this one, could you guide me a bit what do I need to do? I'm guessing this needs fix in https://github.com/scalameta/scalameta/tree/main/semanticdb? cc: @tanishiking
@kpodsiad Great! yes, that's true, it should be stored in synthetics
, I guess we should look into around here https://github.com/scalameta/scalameta/blob/ab3bf7de916f87538171a851791c1b9f950208c8/semanticdb/scalac/library/src/main/scala/scala/meta/internal/semanticdb/scalac/TextDocumentOps.scala#L602-L608
@tanishiking could you give a few tips how to test/debug semanticDB scalac plugin? Anything better than save-expect
?
@tanishiking could you give a few tips how to test/debug semanticDB scalac plugin? Anything better than
save-expect
?
There is the TargetedSuite that is useful for debugging since it can work on arbitrary block of code.
Given following snippet (scala version will change later)
for Scala 2.13.8 Metals don't show inferred type of type parameter
A
which is Intwhereas for 3.2.0 inferred type is showed.
Expectation: Metals show inferred type in both scala versions.