Convert Receiver to Parameter Intention: Update function descriptor after template is finished (otherwise some references may be processed incorrectly)

This commit is contained in:
Alexey Sedunov
2016-10-14 19:20:57 +03:00
committed by Ilya Gorbunov
parent 51566942f6
commit 8c3fcf69f2
5 changed files with 22 additions and 1 deletions
@@ -0,0 +1,4 @@
// WITH_RUNTIME
class A(val s: String) {}
fun <caret>A.extend() = println(this.s)
@@ -0,0 +1,4 @@
// WITH_RUNTIME
class A(val s: String) {}
fun <caret>extend(a: A) = println(a.s)