Changed scope for initializer of extension property /*not to resolve things like val List.length = size() */

This commit is contained in:
Svetlana Isakova
2012-03-28 13:14:35 +04:00
parent 4e7070d2b1
commit cd6f3139f0
6 changed files with 40 additions and 10 deletions
@@ -4,7 +4,7 @@
val x = this@B : B
val y = this@A : A
val z = this : B
val Int.xx = this : Int
val Int.xx : Int get() = this : Int
fun Char.xx() : Any {
this : Char
val <warning>a</warning> = {Double.() -> this : Double + this@xx : Char}