-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[SemanticDB] ExtractSemanticDB doesn't emit symbol for anonymous class #15852
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
Comments
I'm working on it :) |
tanishiking
added a commit
to tanishiking/scala3
that referenced
this issue
Aug 16, 2022
fix scala#15852 This commit enables ExtractSemanticDB to emit SymbolInformation and SymbolOccurrence of anonymous classes. e.g. ```scala trait Foo: def foo: String val foo1: Foo = new Foo { def foo: String = ??? } val foo2: Foo = new { def foo: String = ??? } ``` While Scala2 semanticdb-plugin emit symbols for the anonymous class. Lack of the symbol information / occurrence led Metals not being able to find those anonymous classes as implementations by `go-to-implementation` from `trait Foo`.
bishabosha
added a commit
that referenced
this issue
Sep 13, 2022
… class (#15865) fix #15852 This commit enables ExtractSemanticDB to emit SymbolInformation and SymbolOccurrence of anonymous classes. e.g. ```scala trait Foo: def foo: String val foo1: Foo = new Foo { def foo: String = ??? } val foo2: Foo = new { def foo: String = ??? } ``` While Scala2 semanticdb-plugin emit symbols for the anonymous class. Lack of the symbol information / occurrence led Metals not being able to find those anonymous classes as implementations by `go-to-implementation` from `trait Foo`. see: scalameta/metals#4246
mpollmeier
pushed a commit
to mpollmeier/dotty
that referenced
this issue
Oct 16, 2022
fix scala#15852 This commit enables ExtractSemanticDB to emit SymbolInformation and SymbolOccurrence of anonymous classes. e.g. ```scala trait Foo: def foo: String val foo1: Foo = new Foo { def foo: String = ??? } val foo2: Foo = new { def foo: String = ??? } ``` While Scala2 semanticdb-plugin emit symbols for the anonymous class. Lack of the symbol information / occurrence led Metals not being able to find those anonymous classes as implementations by `go-to-implementation` from `trait Foo`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Originally reported scalameta/metals#4246
Compiler version
3.1.3
Minimized code
Output
Expectation
The text was updated successfully, but these errors were encountered: