Multiple matching incompatible method inheritance

Issue #55 resolved
Jesper Öqvist created an issue

JastAddJ allows some inheritance of incompatible matching method declarations. Example:

abstract class A {
        abstract void m(int i);
interface I {
        int m(int i);
abstract class Test extends A implements I {

The above example should give a compile error because the types A and I are incompatible, but JastAddJ ignores this error.

Comments (2)

  1. Log in to comment