Disconnect loops between upper bounds of type parameters

#KT-9759 Fixed
This commit is contained in:
Denis Zharkov
2015-10-27 16:06:32 +03:00
parent 9b4ad1466a
commit b6f724cf58
25 changed files with 279 additions and 51 deletions
@@ -0,0 +1,8 @@
// FILE: XYZ.java
public interface XYZ<X extends X> {
XYZ foo() {}
}
// FILE: main.kt
fun main(xyz: XYZ<*>) = xyz.foo()