Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
195 stars 48 forks source link

Wrong documentation tooltips for overloaded functions #356

Open vladimmi opened 5 months ago

vladimmi commented 5 months ago

Example with std.math.algebraic.hypot - as you can see, it shows docs for another overload, even the signature in tooltip header is different (and is a bit wrong as well, it mixes @nogc and following if):

image

In my code I have struct with overloaded methods that have docs for each. Tooltip contents are both combined into one:

image