Disallow extension properties with backing fields

#KT-1682 Fixed
This commit is contained in:
Alexander Udalov
2014-05-28 19:17:31 +04:00
parent ea31f372aa
commit d78d4bc44c
72 changed files with 297 additions and 578 deletions
@@ -2,7 +2,7 @@ package As
val staticProperty : String = "1"
val String.staticExt = "1"
val String.staticExt: String get() = "1"
open class A(val init: String) {
@@ -10,7 +10,7 @@ open class A(val init: String) {
private val privateProperty : String = init
val String.ext = "1"
val String.ext: String get() = "1"
val Int.myInc : Int
get() = this + 1