-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
local function definitions hide base #1505
Comments
Discussion of this is pretty well summed up in Issue #1484, where the general consensus is to rename |
The issue isn't with the name ref. If you want to implement ref (show, length, etc..) for a new type, it will hide the base version. This is a bug. |
This isn't a bug. If you want to extend ref, you have to |
Indeed, sorry about misreading that. This is related to the bug (can't find the issue right now where it was originally reported) where importing names, using them, then overriding them behaves differently then importing names, overriding them and then using them. For instance, the following works:
|
|
Related to issue #1500.
The text was updated successfully, but these errors were encountered: