[FIR] FIR2IR: Populate calls with type arguments and function type

parameters with bounds/supertypes.
This commit is contained in:
Mark Punzalan
2019-11-23 23:37:35 -08:00
committed by Mikhail Glukhikh
parent 58dd9a6004
commit 5afab1ac2b
125 changed files with 379 additions and 341 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface In<in E>
class En<T> : In<T>
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface In<in E>
class A : In<A>
class B : In<B>
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// FILE: test.kt
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun test() = foo({ line: String -> line })
fun <T> foo(x: T): T = TODO()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> T.at(element: Int) = this.at()
fun <T> T.at(): T = this
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
val targetArgument = id2(star(), star()) // error
fun <T> id2(x: T, y: T): T = x
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A : FirstOwner<Holder<A>>
class B : SecondOwner<Holder<B>>