issue warning instead of error in case of finite bound or non-expansive inheritance violation in java code

This commit is contained in:
Michael Nedzelsky
2015-10-28 15:31:59 +03:00
parent d2c65a5336
commit c123af75fd
6 changed files with 16 additions and 12 deletions
@@ -13,4 +13,4 @@ public interface C<X> extends D<P<X,X>> {}
public interface P<Y1, Y2> extends Q<C<Y1>, C<D<Y2>>> {}
// FILE: 1.kt
<!EXPANSIVE_INHERITANCE!>interface P1<YY1, YY2> : P<YY1, YY2><!>
<!EXPANSIVE_INHERITANCE_IN_JAVA!>interface P1<YY1, YY2> : P<YY1, YY2><!>