Fix NPE on conversion: run/apply with explicit signature -> let/also

So #KT-22949 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-03-08 17:45:26 +03:00
committed by Mikhail Glukhikh
parent f93b21eaa2
commit 55c93bc8b6
6 changed files with 49 additions and 0 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
// FIX: Convert to 'also'
fun foo() {
"".<caret>also {
println(it + it)
}
}