Files
kotlin-fork/compiler/testData/resolve/PrimaryConstructorParameters.resolve
T
Andrey Breslav d31e53fa59 EA-41207 - IAE: NameUtils.requireIdentifier
Test data files renamed
2013-01-30 12:28:45 +04:00

22 lines
349 B
Plaintext

class C(~x~x : Int, ~y~val y : Int) : Base(`x`x /*parameter*/), Base1 by Base1(`x`x) {
var z = `x`x // parameter
get() = `$x`x // property
{
val z = `x`x // parameter
}
val foo = `$y`y
this() : this(1, 2) {
val z = x // inaccessible
val zz = `$y`y // property
}
fun f() : Int {
return `$x`x // property
}
}