Files
kotlin-fork/idea/testData/resolve/PrimaryConstructors.jet
T
2011-03-24 19:50:44 +03:00

13 lines
200 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`
}