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:
pyos
2021-08-02 11:53:11 +02:00
committed by teamcityserver
parent 5fec9f34b1
commit 8e122397b0
30 changed files with 194 additions and 263 deletions
@@ -19,7 +19,7 @@ public interface SLRUMap<V> {
fun <V> SLRUMap<V>.getOrPut(value: V, l: List<V>) {
takeV(<!ARGUMENT_TYPE_MISMATCH!>value<!>)
takeVList(l)
takeVList(<!ARGUMENT_TYPE_MISMATCH!>l<!>)
takeE(value)
takeEList(l)
@@ -19,7 +19,7 @@ public interface SLRUMap<V> {
fun <V> SLRUMap<V>.getOrPut(value: V, l: List<V>) {
takeV(<!ARGUMENT_TYPE_MISMATCH!>value<!>)
takeVList(l)
takeVList(<!ARGUMENT_TYPE_MISMATCH!>l<!>)
takeE(value)
takeEList(l)