fe328f8c7a
1) Trim unused spaces in annotations 2) Rewrote fq name rendering 3) Added annotations to for loop variable 4) Added type arguments render along to type parameters in functions
13 lines
532 B
Kotlin
Vendored
13 lines
532 B
Kotlin
Vendored
open class Base<T>(val x: T)
|
|
|
|
// constructor Base<T>(T)
|
|
// │ Derived.<init>.x: T
|
|
// │ │
|
|
class Derived<T : Any>(x: T) : Base<T>(x)
|
|
|
|
// Derived<T>
|
|
// │ constructor Derived<T : Any>(T)
|
|
// │ │ create.x: T
|
|
// │ │ │
|
|
fun <T : Any> create(x: T): Derived<T> = Derived(x)
|