Open adam-r-kowalski opened 5 years ago
The first issue is a DCD issue (https://github.com/dlang-community/DCD/issues/13). The second is also somewhat a DCD issue (https://github.com/dlang-community/DCD/issues/397), I've simply made up some more code to find multiple definitions instead of only the first one, but it would need a lot more in-depth code analysis to actually find out which definition is the good one.
The DLS go to definition works fine if a function is being called with the conventional syntax
However fails if I use the universal function call syntax
Furthermore, if there is a templated function it (an example from the D programming language)
Going to definition shows both versions of
find
and you must choose between them, but I feel like it should do the same specialization matching the compiler does and go to the second definition.