Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect go to def when stale SemanticDB #7027

Open
kasiaMarek opened this issue Dec 13, 2024 · 0 comments · May be fixed by #7028
Open

Incorrect go to def when stale SemanticDB #7027

kasiaMarek opened this issue Dec 13, 2024 · 0 comments · May be fixed by #7028
Labels
bug Something that is making a piece of functionality unusable

Comments

@kasiaMarek
Copy link
Contributor

Describe the bug

Steps:

  1. code:
val a: List[Int] = ???
  1. compile
  2. add definition of List (non-compiling)
val a: List[Int] = ???
class List[T]:
  val x: Int = "aa"
  1. go to definition on val a: Li@@st[Int] leads to scala.List

Expected behavior

Go to definition should work correctly.

Operating system

macOS

Editor/Extension

None

Version of Metals

1.4.1

Extra context or search terms

No response

@kasiaMarek kasiaMarek added the bug Something that is making a piece of functionality unusable label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is making a piece of functionality unusable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant