FIR IDE: Use KtFirExpressionTypeProvider.getExpectedType() in

ReplaceCallFix.
This commit is contained in:
Mark Punzalan
2021-03-19 00:01:54 +00:00
committed by Ilya Kirillov
parent e9298d1d71
commit 062adf21de
18 changed files with 118 additions and 25 deletions
@@ -0,0 +1,8 @@
// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
fun foo(a: String?) {
val b = a // comment1
// comment2
?.length ?: <caret>
}
/* FIR_COMPARISON */