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

Unchanged parent class reported as having a missing method #211

Open
2m opened this issue May 21, 2018 · 0 comments
Open

Unchanged parent class reported as having a missing method #211

2m opened this issue May 21, 2018 · 0 comments
Labels

Comments

@2m
Copy link
Contributor

2m commented May 21, 2018

v1

abstract class A { def foo: Int }
class C extends A { def foo: Int = 1 }

v2

abstract class A { def foo: Int }
class B extends A { def foo: Int = 1 }
class C extends B

problem

Fails with:

[error]         The following problems were not expected
[error]         - abstract method foo()Int in class A does not have a correspondent in new version

but class A is unchanged...

expected

No error.

Originally found in akka/akka#24625 (review)

A failing test-case was provided in #204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant