8 lines
169 B
Kotlin
Vendored
8 lines
169 B
Kotlin
Vendored
class Outer<T>(val x: T) {
|
|
open inner class Inner(val y: Int)
|
|
}
|
|
|
|
fun Outer<Int>.test() =
|
|
object : Outer<Int>.Inner(42) {
|
|
val xx = x + y
|
|
} |