f98a22e8e4
Invert the logic of IR/FIR2IR-based generators: change the CLI argument to -Xuse-fir-fake-override-builder, test directive to USE_FIR_BASED_FAKE_OVERRIDE_GENERATOR, etc. The changes in test data caused by using IR fake override builder by default are in the subsequent commit. #KT-61514
23 lines
381 B
Kotlin
Vendored
23 lines
381 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// ISSUE: KT-65207
|
|
|
|
// FILE: Java1.java
|
|
import java.util.ArrayList;
|
|
|
|
public class Java1<T> {
|
|
public T foo() {
|
|
return null;
|
|
}
|
|
public ArrayList<Integer> bar() {
|
|
return null;
|
|
};
|
|
}
|
|
|
|
// FILE: 1.kt
|
|
abstract class C<R> : Java1<R>(), KotlinInterface<R>
|
|
|
|
interface KotlinInterface<T> {
|
|
fun foo(): T
|
|
fun bar(): ArrayList<Int>
|
|
}
|