[FIR] Approximate integer constants in lhs of callable reference
This commit is contained in:
@@ -7,5 +7,5 @@ fun f(x: KClass<out Int>) {}
|
||||
fun test() {
|
||||
f(42::class)
|
||||
f((40 + 2)::class)
|
||||
<!UNRESOLVED_REFERENCE!>42::toInt<!>
|
||||
42::toInt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user