Files
kotlin-fork/idea/testData/checker/PrimaryConstructors.jet
T
2012-05-22 18:23:51 +04:00

14 lines
135 B
Plaintext

class X {
<error>val x : Int</error>
}
open class Y() {
val x : Int = 2
}
class Y1 {
val x : Int get() = 1
}
class Z : Y() {
}