Files
kotlin-fork/compiler/testData/asJava/lightClasses/nullabilityAnnotations/UnitAsGenericArgument.kt
T
Dmitry Gridin 97ce502cbe [light classes] drop old light classes and backend: iteration #2
drop javaFileStub and fix tests

^KT-48773
2022-06-28 11:44:39 +00:00

10 lines
125 B
Kotlin
Vendored

// C
interface Base<T> {
fun foo(t: T): T
}
class C : Base<Unit> {
override fun foo(t: Unit) {}
}
// FIR_COMPARISON