FIR: fix type index computation during enhancement
1. in/out type parameters count; 2. star projections take up 1 space in the tree.
This commit is contained in:
Vendored
+1
-1
@@ -77,7 +77,7 @@ import test.L
|
||||
|
||||
fun main(a: test.A, l: L<Map<String, Int>, Int?>, l1: L<Map<String, Int>, Int>) {
|
||||
a.foo(l)
|
||||
a.foo(l as L<Map<String, Int>, Int>)
|
||||
a.foo(<!ARGUMENT_TYPE_MISMATCH!>l as L<Map<String, Int>, Int><!>)
|
||||
a.foo(l as L<Map<String, Int?>, Int?>)
|
||||
|
||||
a.bar(l1)
|
||||
|
||||
Reference in New Issue
Block a user