Generate IrTypeParameter and IrValueParameter declarations

This commit is contained in:
Dmitry Petrov
2017-03-15 17:47:46 +03:00
parent 03b664febd
commit 8cea27b5bb
149 changed files with 2251 additions and 331 deletions
@@ -0,0 +1,13 @@
class Test1<T1, T2>(val x: T1, val y: T2)
class Test2(x: Int, val y: String) {
inner class TestInner<Z>(val z : Z) {
constructor(z: Z, i: Int) : this(z)
}
}
class Test3(val x: Int, val y: String = "")
class Test4<T>(val x: Int) {
constructor(x: Int, y: Int = 42) : this(x + y)
}