Merged LoadCompiledKotlin test int LoadJavaTest.

This commit is contained in:
Evgeny Gerashchenko
2013-12-06 16:48:03 +04:00
parent 62f44f7ed0
commit b7cfd676bf
491 changed files with 2032 additions and 2103 deletions
@@ -0,0 +1,5 @@
package test
class River {
fun song() = 1
}
@@ -0,0 +1,6 @@
package test
internal final class River {
/*primary*/ public constructor River()
internal final fun song(): jet.Int
}
@@ -0,0 +1,5 @@
package test
class ClassFunGetFoo {
fun getFoo() = 1
}
@@ -0,0 +1,6 @@
package test
internal final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun getFoo(): jet.Int
}
@@ -0,0 +1,6 @@
package test
class ClassFunGetFoo {
fun getFoo() = 1
fun setFoo(p: Int) {}
}
@@ -0,0 +1,7 @@
package test
internal final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun getFoo(): jet.Int
internal final fun setFoo(/*0*/ p: jet.Int): jet.Unit
}
@@ -0,0 +1,5 @@
package test
class ClassFunGetFoo {
fun set(p: Int) { }
}
@@ -0,0 +1,6 @@
package test
internal final class ClassFunGetFoo {
/*primary*/ public constructor ClassFunGetFoo()
internal final fun set(/*0*/ p: jet.Int): jet.Unit
}
@@ -0,0 +1,3 @@
package test
fun Int.shuffle() = 1
@@ -0,0 +1,3 @@
package test
internal fun jet.Int.shuffle(): jet.Int
@@ -0,0 +1,5 @@
package test
class ExtFunInClass {
fun Int.shuffle() = 1
}
@@ -0,0 +1,6 @@
package test
internal final class ExtFunInClass {
/*primary*/ public constructor ExtFunInClass()
internal final fun jet.Int.shuffle(): jet.Int
}
@@ -0,0 +1,3 @@
package test
fun funDefaultArg(p: Int, q: Int = 17, r: Int = 18) = 19
@@ -0,0 +1,3 @@
package test
internal fun funDefaultArg(/*0*/ p: jet.Int, /*1*/ q: jet.Int = ..., /*2*/ r: jet.Int = ...): jet.Int
@@ -0,0 +1,3 @@
package test
fun fff(a: java.lang.Integer) = 1
@@ -0,0 +1,3 @@
package test
internal fun fff(/*0*/ a: java.lang.Integer): jet.Int
@@ -0,0 +1,3 @@
package test
fun varargInt(a: Int, vararg b: Int) = 1
@@ -0,0 +1,3 @@
package test
internal fun varargInt(/*0*/ a: jet.Int, /*1*/ vararg b: jet.Int /*jet.IntArray*/): jet.Int
@@ -0,0 +1,3 @@
package test
fun varargCharSequence(a: Int, vararg b: java.lang.Integer) = 1
@@ -0,0 +1,3 @@
package test
internal fun varargCharSequence(/*0*/ a: jet.Int, /*1*/ vararg b: java.lang.Integer /*jet.Array<java.lang.Integer>*/): jet.Int
@@ -0,0 +1,5 @@
package test
abstract class ModifierAbstract {
abstract fun abs(): Int
}
@@ -0,0 +1,6 @@
package test
internal abstract class ModifierAbstract {
/*primary*/ public constructor ModifierAbstract()
internal abstract fun abs(): jet.Int
}
@@ -0,0 +1,5 @@
package test
open class ModifierOpen {
open fun abs() = 1
}
@@ -0,0 +1,6 @@
package test
internal open class ModifierOpen {
/*primary*/ public constructor ModifierOpen()
internal open fun abs(): jet.Int
}
@@ -0,0 +1,3 @@
package test
fun f() = 1
@@ -0,0 +1,3 @@
package test
internal fun f(): jet.Int
@@ -0,0 +1,3 @@
package test
fun getFoo() = 1
@@ -0,0 +1,3 @@
package test
internal fun getFoo(): jet.Int
@@ -0,0 +1,3 @@
package test
fun ff(): java.lang.Integer = throw Exception()
@@ -0,0 +1,3 @@
package test
internal fun ff(): java.lang.Integer
@@ -0,0 +1,3 @@
package test
fun ff(): java.lang.Integer? = null
@@ -0,0 +1,3 @@
package test
internal fun ff(): java.lang.Integer?