4911f78200
* Inner classes lowering * cmd line fix * tests * * reverted adding parameter to inner classes constructors * variables are identified by their descriptors * review fixes
12 lines
175 B
Kotlin
12 lines
175 B
Kotlin
class Outer(val s: String) {
|
|
inner class Inner {
|
|
fun box() = s
|
|
}
|
|
}
|
|
|
|
fun box() = Outer("OK").Inner().box()
|
|
|
|
fun main(args: Array<String>)
|
|
{
|
|
println(box())
|
|
} |