Replies: 1 comment
-
This seems like https://contributors.scala-lang.org/t/transparent-term-aliases/5553/13 😨 For go to definition we don't dealias here, and when we check the type for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I came across this when looking into scala/scala3#16858 and I thought it was interested. I'm not 100% sure what should happen here. But you given a piece of code like this:
If you trigger a goto definition on position
2
it will lead you topackage.scala
at:Whereas if you trigger a goto type definition at position
1
you're then lead toList.scala
I sort of assumed that they behavior on the goto definition of
List
and the goto type definition here to be the same. What do others think here?Beta Was this translation helpful? Give feedback.
All reactions