Use type arguments from supertype when resolving constructor delegation call
#KT-3357 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
open class Super<T> {
|
||||
inner open class Inner {
|
||||
}
|
||||
}
|
||||
|
||||
class Sub : Super<String>() {
|
||||
// TODO: it would be nice to have a possibility to omit explicit type argument in supertype
|
||||
inner class SubInner : Super<String>.Inner() {}
|
||||
}
|
||||
Reference in New Issue
Block a user