FIR: Fix inference when unit value should be cast to Any
This commit is contained in:
committed by
teamcityserver
parent
d3fc22fc6a
commit
c3646b11ac
@@ -0,0 +1,11 @@
|
||||
// WITH_STDLIB
|
||||
// FULL_JDK
|
||||
|
||||
class A {
|
||||
fun foo(x: List<String>) {
|
||||
var w = 1
|
||||
x.ifEmpty {
|
||||
w += 2
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user