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
@@ -2,4 +2,4 @@
public class A<T extends A> {}
// FILE: 1.kt
<!FINITE_BOUNDS_VIOLATION!>class B<S: A<*>><!>
<!FINITE_BOUNDS_VIOLATION_IN_JAVA!>class B<S: A<*>><!>