Partial body resolve: corrected it for explicit function type but unfortunately it does not work for non-explicit type yet
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() = run {
|
||||
print("a")
|
||||
val v = 1
|
||||
print(<caret>v)
|
||||
"x"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
Resolve target: val v: kotlin.Int
|
||||
----------------------------------------------
|
||||
fun foo(): String = run {
|
||||
// STATEMENT DELETED: print("a")
|
||||
val v = 1
|
||||
print(<caret>v)
|
||||
"x"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo(): String = run {
|
||||
print("a")
|
||||
val v = 1
|
||||
print(<caret>v)
|
||||
"x"
|
||||
}
|
||||
Reference in New Issue
Block a user