[FIR] Use type without smartcast for local variable with smartcasted initializer
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ fun test2() {
|
||||
}
|
||||
|
||||
<set-x>(<set-?> = 0)
|
||||
val <unary>: Int = <get-x>()
|
||||
val <unary>: Int? = <get-x>()
|
||||
<set-x>(<set-?> = <unary>.inc())
|
||||
<unary> /*~> Unit */
|
||||
<set-x>(<set-?> = <get-x>().plus(other = 1))
|
||||
|
||||
Reference in New Issue
Block a user