Files
kotlin-fork/idea/testData/resolve/PrimaryConstructors.jet
T

13 lines
203 B
Plaintext

class A(~a~val a : Int) {
this() {`$a`a}
~b~val b = `a`a
~f~fun f() = `$a`a
}
fun test() {
~va~val a = new A()
`va`a.`$a`a`:std::Int`
a.`b`b`:std::Int`
a.`f`f()`:std::Int`
}