Files
kotlin/compiler/testData/asJava/lightClasses/nullabilityAnnotations/UnitAsGenericArgument.kt
2015-05-12 19:43:17 +02:00

9 lines
107 B
Kotlin
Vendored

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