-
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
When setting an overload for some function with different returns, the suggested returns are always the sum of all possible returns no matter the used overload used.
Creating a function overload by defining it more than once seems to override the returns always although:
Not entirely sure if this is indeed the expected behavior, but it definitely seems like the language server has enough context to figure out the return type easily enough, I would suppose.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request