scalameta / metals

Scala language server with rich IDE features 🚀
https://scalameta.org/metals/
Apache License 2.0
2.1k stars 335 forks source link

Make sure selectableDynamic is not show when structural types #5621

Open tgodzik opened 1 year ago

tgodzik commented 1 year ago

Describe the bug

Related to the StructuralTypes changes in https://github.com/scalameta/metals/pull/5620/files

We should probably make sure that we don't point to selectableDynamic in those cases

Expected behavior

Go to definition and semanticdb properly show the actual values being used

Operating system

Linux

Editor/Extension

VS Code

Version of Metals

v1.0.1

Extra context or search terms

selectable dynamic semanticdb

tgodzik commented 1 year ago

We could possibly show both selectDynamic and the actual method like with objects and apply methods