scalameta/metabrowse

Go to definition does not work for symbol.multi

olafurpg opened this issue · 1 comments

screen shot 2017-10-30 at 08 20 42

We should probably just pick either the type or term symbol.

I am unable to reproduce for Location here https://scalameta.org/metadoc/#/scalameta/scalameta/parsers/shared/src/main/scala/scala/meta/internal/parsers/ScalametaParser.scala#L12C36-L12C44

SemanticDB no longer emits multi symbols, instead it emits two symbol occurrences (one for type symbol and one for term symbol). Metadoc picks the first one so it jumps to either one.