Use type arguments from supertype when resolving constructor delegation call

#KT-3357 Fixed
This commit is contained in:
Denis Zharkov
2016-01-25 18:09:51 +03:00
parent 8b828f1d9a
commit 8ec63bd4dd
11 changed files with 236 additions and 27 deletions
@@ -0,0 +1,12 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
open class Super<T> {
inner open class Inner {
}
}
class Sub : Super<String>() {
inner class SubInner : Super<String>.Inner {
constructor()
constructor(x: Int) : super() {}
}
}