FE: perform IOT approximation after resolution & inference
#KT-54917 Fixed
This commit is contained in:
committed by
Space Team
parent
7884d9a61e
commit
fa6b1e24f9
+2
-2
@@ -1,7 +1,7 @@
|
||||
FILE: literalInCompletedGeneric.fir.kt
|
||||
FILE: literalInCompletedGeneric.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
R|/foo|<R|kotlin/Int|>(vararg(Int(1).R|kotlin/to|<R|kotlin/Int|, R|kotlin/Int|>(Int(2))))
|
||||
lval x: R|kotlin/collections/List<IOT>| = R|/foo|<R|kotlin/Int|>(vararg(Int(3).R|kotlin/to|<R|kotlin/Int|, R|kotlin/Int|>(Int(4))))
|
||||
lval x: R|kotlin/collections/List<kotlin/Int>| = R|/foo|<R|kotlin/Int|>(vararg(Int(3).R|kotlin/to|<R|kotlin/Int|, R|kotlin/Int|>(Int(4))))
|
||||
}
|
||||
public final fun <T : R|kotlin/Comparable<T>|> foo(vararg values: R|kotlin/Array<out kotlin/Pair<T, T>>|): R|kotlin/collections/List<T>| {
|
||||
^foo R|kotlin/TODO|()
|
||||
|
||||
Reference in New Issue
Block a user