Files
kotlin-fork/compiler/testData/resolveConstructorDelegationCalls/inheritanceWithGeneric.txt
T
2015-03-11 17:45:23 +03:00

18 lines
364 B
Plaintext
Vendored

open class B<T> {
constructor(x: T = null!!) {}
}
class A : B<Int> {
<caret>constructor() {}
}
Resolved call:
Candidate descriptor: constructor B<T>(x: T = ...) defined in B
Resulting descriptor: constructor B<T>(x: Int = ...) defined in B
Explicit receiver kind = NO_EXPLICIT_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER