Skip to content

[WIP] Simplify signature handling #3177

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

Closed
wants to merge 7 commits into from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 26, 2017

The aim of this PR when it is complete is to change the default of no-signature in a TermRef
to mean "NotAMethod" instead of "OverloadedSignature".

The problem is that the assertion in checkNoLeaks might be wrong if
the widened type is erroneous. This happened during editing.
Died with an NPE instead of failing the assert
We admit overloaded signatures in term refs.
Instead, assume that an unsigned name means NotAMethod.
@odersky
Copy link
Contributor Author

odersky commented Sep 26, 2017

Superseded by #3167

@odersky odersky closed this Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant