Skip to content
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

Overload resolution is ambiguous if the same method signature is defined in a derived class #1054

Closed
glopesdev opened this issue Sep 22, 2022 · 0 comments · Fixed by #1452
Closed
Labels
bug Something isn't working
Milestone

Comments

@glopesdev
Copy link
Member

If a combinator derives from another combinator hiding a method signature from the parent class with the same name and argument types, it will generate an ambiguous match error. According to the specs, it should prefer the overload from the most derived class.

@glopesdev glopesdev added the bug Something isn't working label Sep 22, 2022
glopesdev added a commit to glopesdev/bonsai that referenced this issue Jul 3, 2023
glopesdev added a commit to glopesdev/bonsai that referenced this issue Jul 3, 2023
@glopesdev glopesdev added this to the 2.8 milestone Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant