Properly handle the case of backing field access qualified with 'this' reference

This commit is contained in:
Andrey Breslav
2013-12-04 16:10:05 +04:00
parent 5b3bc7f839
commit 6df3a3042c
8 changed files with 57 additions and 8 deletions
@@ -1,5 +1,5 @@
// "Change '$bar' to 'bar'" "true"
abstract class Bar {
abstract var bar : String
fun foo() = "foo" + <caret>this.$bar
fun foo() = "foo" + this.<caret>$bar
}