FIR deserializer: load type-parameters correctly

This commit is contained in:
Simon Ogorodnik
2019-04-08 15:44:09 +03:00
committed by Mikhail Glukhikh
parent 853167a24d
commit 649c2f6bcc
54 changed files with 164 additions and 118 deletions
@@ -1 +1,2 @@
public final fun <P, Q> funParamReferencesParam(): R|kotlin/Int|
public final fun <P, Q : R|P|> funParamReferencesParam(): R|kotlin/Int|
@@ -1,4 +1,4 @@
public final fun <T> foo(): R|kotlin/Unit|
public final fun <T : R|test/Foo|, R|test/Bar|> foo(): R|kotlin/Unit|
public abstract interface Bar : R|kotlin/Any| {
}
@@ -1 +1,2 @@
public final fun <A> uno(): R|kotlin/Int|
public final fun <A : R|java/lang/Number|> uno(): R|kotlin/Int|
@@ -1 +1,2 @@
public final fun <A> tres(): R|kotlin/Int|
public final fun <A : R|java/lang/Number|, R|java/io/Serializable|> tres(): R|kotlin/Int|
@@ -1 +1,2 @@
public final fun <A> dos(): R|kotlin/Int|
public final fun <A : R|java/io/Serializable|> dos(): R|kotlin/Int|