Interactive compiler: go to definition for enum type param #18541
Labels
area:presentation-compiler
Related to the presentation compiler module used by Metals and possibly other tools
itype:bug
Milestone
Compiler version
3.4.0-RC1-bin-20230909-64c3138-NIGHTLY
Minimized code
Find definitions in interactive compiler doesn't find any results for
A
inMySome
, since it is a distinct symbol fromA
inMyOption
and it has zero extent.Expectation
A
inMyOption
should be resolved as the definition.More context
Here is a workaround in metals pc but it feels like it should be solved on a different level in the compiler, e.g. adding a span of
A
inMyOption
toA
inMySome
.The text was updated successfully, but these errors were encountered: