FIR: resolve bounds of function type arguments

This commit is contained in:
Mikhail Glukhikh
2018-04-03 21:35:27 +03:00
parent 6c3fe5dc98
commit ea86c3d2b3
9 changed files with 65 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
open class Base<T>(val x: T)
class Derived<T : Any>(x: T) : Base<T>(x)
fun <T : Any> create(x: T): Derived<T> = Derived(x)