KT-8169 Strange exception when replacing function call to its only argument

#KT-8169 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-06-25 11:00:59 +02:00
parent 463b0cda79
commit 498e746689
6 changed files with 64 additions and 13 deletions
@@ -0,0 +1,9 @@
// "Replace with 'this'" "true"
class C {
deprecated("", ReplaceWith("this"))
fun oldFun(): C = this
}
fun foo() {
C().<caret>oldFun()
}