FIR: make rendering of type parameters similar to original Kotlin
This commit is contained in:
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<T> public final fun f(): R|kotlin/Int|
|
||||
public final fun <T> f(): R|kotlin/Int|
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<P> public final fun funParamParam(a: R|kotlin/Int|, b: R|P|): R|kotlin/Int|
|
||||
public final fun <P> funParamParam(a: R|kotlin/Int|, b: R|P|): R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<P> public final fun funParamParam(a: R|kotlin/Int|, b: R|P|): R|kotlin/Int|
|
||||
public final fun <P> funParamParam(a: R|kotlin/Int|, b: R|P|): R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<P, Q> public final fun funParamReferencesParam(): R|kotlin/Int|
|
||||
public final fun <P, Q> funParamReferencesParam(): R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<T> public final fun foo(): R|kotlin/Unit|
|
||||
public final fun <T> foo(): R|kotlin/Unit|
|
||||
|
||||
public abstract interface Bar : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<A> public final fun uno(): R|kotlin/Int|
|
||||
public final fun <A> uno(): R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<A> public final fun tres(): R|kotlin/Int|
|
||||
public final fun <A> tres(): R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<A> public final fun dos(): R|kotlin/Int|
|
||||
public final fun <A> dos(): R|kotlin/Int|
|
||||
|
||||
compiler/fir/resolve/testData/loadCompiledKotlin/fun/genericWithTypeVariables/FunParamVaragParam.txt
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<P> public final fun funParamVarargParam(a: R|kotlin/Int|, vararg b: R|kotlin/Array<out P>|): R|kotlin/Int|
|
||||
public final fun <P> funParamVarargParam(a: R|kotlin/Int|, vararg b: R|kotlin/Array<out P>|): R|kotlin/Int|
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<P, Q> public final fun funTwoTypeParams(): R|kotlin/Int|
|
||||
public final fun <P, Q> funTwoTypeParams(): R|kotlin/Int|
|
||||
|
||||
Reference in New Issue
Block a user