Files
kotlin-fork/compiler/testData/recursiveProcessor/declarations.kt
T
Alexander Udalov f0e230cf23 Fix test data of recursive processor and renderer
After object refactoring
2013-12-02 19:56:09 +04:00

41 lines
726 B
Kotlin

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 NestedObject {
fun nestedFunc(): Unit {}
}
}