EA - 35896 Case when property accessors are declared but only access level is specified

This commit is contained in:
pTalanov
2012-05-05 19:36:22 +04:00
parent c1e4b20e38
commit 29f224b81f
3 changed files with 26 additions and 6 deletions
@@ -0,0 +1,14 @@
package foo
class A() {
private var c : Int = 3
private get
private set
fun f() = c + 1
}
fun box() : Boolean {
return A().f() == 4
}