-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idetools resolves wrong method for dynamic dispatch example #477
Comments
It should resolve to the dispatching method (the one that quits). Note that it can't determine which method is really run as that would require running the program. |
I understand that dynamic dispatch requires runtime execution and is out of the scope of idetools, but in this case none of the provided On the other hand, since this is not going to work reliably for all cases, why not avoid the difficult decissions and make idetools spit out all the available matching methods? The current version outputs only one method, but it would be neat if all were dumped so the final end user inside the IDE can pick the correct one to jump to. Presumably similar code is already in use for the |
nimsuggest has its own bug tracker. |
477: move 'collections' category to stdlib r=haxscramper a=haxscramper Co-authored-by: haxscramper <haxscramper@gmail.com>
The second example at http://nimrod-code.org/tut2.html#dynamic-dispatch when run produces the output
2
. However, when that example is queried with idetools the call to collide resolves to the version echoing1
.The text was updated successfully, but these errors were encountered: