Fix and test RecursiveDescriptorProcessor

This commit is contained in:
Andrey Breslav
2013-06-10 20:54:13 +04:00
parent 1e0f926d39
commit 325946154b
4 changed files with 315 additions and 38 deletions
@@ -0,0 +1,41 @@
package test.innerTest
fun <T1> T1.func(a: T1): T1 = a
val <T2> T2.prop: T2? = null
var propVar: Any? = null
trait Trait<T3> {
fun traitFunc(): Unit {}
val traitProp: Any?
}
abstract class Class<T4> : Trait<Any> {
fun classFunc(): Unit {}
val classProp: Any? = null
class object {
fun classObjFunc(): Unit {}
val classObjProp: Any? = null
}
}
object Object {
fun objFunc(): Unit {}
val objProp: Any? = null
}
trait Outer {
trait NestedTrait {
fun nestedTraitFun() {}
}
abstract class NestedClass {
class object {
fun nestedClassObjFunc(): Unit {}
}
}
object Object {
fun nestedFunc(): Unit {}
}
}