Skip to content

Fix #1510: Fix error message when abstract member not implemented. #1511

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

Merged
merged 1 commit into from
Sep 16, 2016

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki
Copy link
Contributor Author

With this fix the error message in #1510 becomes:

error: class Bar needs to be abstract, since def f: (i: Int)Unit is not defined 
(Note that Int does not match String)
class Bar extends Foo {
      ^

@odersky
Copy link
Contributor

odersky commented Sep 16, 2016

LGTM

@odersky odersky merged commit 78a4ff4 into scala:master Sep 16, 2016
@allanrenucci allanrenucci deleted the fix-1510 branch December 14, 2017 19:19
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.

3 participants