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

new overload resolution incorrect #292

Closed
degory opened this issue Aug 21, 2020 · 0 comments · Fixed by #293
Closed

new overload resolution incorrect #292

degory opened this issue Aug 21, 2020 · 0 comments · Fixed by #293
Labels

Comments

@degory
Copy link
Owner

degory commented Aug 21, 2020

new searches superclasses and implemented traits for matching init methods, where it should actually search only direct members of the class being instantiated.

Similarly calls to init within a class should only call init methods that are direct members of that class, and calls to super.init should only call methods that are direct members of the class's immediate superclass.

@degory degory added the bug label Aug 21, 2020
@degory degory changed the title new overload resolution incorrect new overload resolution incorrect Aug 21, 2020
@degory degory linked a pull request Aug 21, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant