Files
kotlin-fork/compiler/testData/diagnostics/tests/override/dnnOverridesFlexibleDnnRepresentation.fir.kt
T
2024-03-14 22:39:03 +00:00

16 lines
305 B
Kotlin
Vendored

// LANGUAGE: +JavaTypeParameterDefaultRepresentationWithDNN
// ISSUE: KT-58933
// FILE: J.java
public interface J<T> {
void simple(T t);
void box(Box<T> box);
}
// FILE: test.kt
class Box<T>
class K<T> : J<T> {
override fun simple(t: T & Any) {}
override fun box(box: Box<T & Any>) {}
}