[FIR] Approximate integer constants in lhs of callable reference

This commit is contained in:
Dmitriy Novozhilov
2020-04-14 15:57:54 +03:00
parent c71f9d9640
commit f7dc06a772
8 changed files with 40 additions and 4 deletions
@@ -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
}