PSI Unifier: Fix matching of this-expressions

#KT-8293 Fixed
This commit is contained in:
Alexey Sedunov
2016-01-12 17:18:53 +03:00
parent ed8674c0f9
commit 1d9bafe196
7 changed files with 51 additions and 0 deletions
@@ -0,0 +1,6 @@
fun (String.() -> String).foo(x : String) {
x.<selection>this</selection>()
x.this@foo()
val t = this
val tt = this@foo
}
@@ -0,0 +1,7 @@
fun (String.() -> String).foo(x : String) {
val function = this
x.function()
x.function()
val t = function
val tt = function
}