[FIR] Fix infinite loop in attribute substitution
#KT-65318 Fixed
This commit is contained in:
committed by
Space Team
parent
d047db850f
commit
9e72482f09
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
// FILE: Super.java
|
||||
import org.jspecify.annotations.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
public abstract class Super<E extends Super<E>> implements Comparable<E> {
|
||||
public final int compareTo(E o) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
open class E : Super<E>()
|
||||
Reference in New Issue
Block a user