FIR IDE: Use KtFirExpressionTypeProvider.getExpectedType() in
ReplaceCallFix.
This commit is contained in:
committed by
Ilya Kirillov
parent
e9298d1d71
commit
062adf21de
@@ -0,0 +1,8 @@
|
||||
// "Replace with safe (?.) call" "true"
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: String?) {
|
||||
val b = a // comment1
|
||||
// comment2
|
||||
?.length ?: <caret>
|
||||
}
|
||||
/* FIR_COMPARISON */
|
||||
Reference in New Issue
Block a user