-
Notifications
You must be signed in to change notification settings - Fork 119
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
Namespaced function fails to resolve external override #284
Comments
I don't think there's an error here, Try the same thing in e.g. C++ and you'd get a similar error. In C++, you can call |
So, this would be the recommend way for now? I'm ok with that.
The actual situation i found this in was more like
Which results in Is there a way to resolve that function? |
Yes, that's the correct way to do it for now. Your second example works the same, it needs name spacing to reach the other namespace. So, Agree that is not ideal.. we'd need to move it into the type checker.. I'd have to see if there's a way to do that, since currently there isn't. |
Fails with
Does work |
Ah, that is an additional bug, it should namespace methods similarly to standalone functions. |
Results in
0
Results in error
The text was updated successfully, but these errors were encountered: