Disconnect loops between upper bounds of type parameters
#KT-9759 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// FILE: XYZ.java
|
||||
public interface XYZ<X extends X> {
|
||||
XYZ foo() {}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
fun main(xyz: XYZ<*>) = xyz.foo()
|
||||
Reference in New Issue
Block a user