[NI] Fix substitution for receiver when resolving constructor super call
This commit is contained in:
+1
-2
@@ -1,4 +1,3 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
open class Super<T> {
|
||||
inner open class Inner {
|
||||
}
|
||||
@@ -6,5 +5,5 @@ open class Super<T> {
|
||||
|
||||
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>.<!NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, NI;UNRESOLVED_REFERENCE_WRONG_RECEIVER!>Inner<!>() {}
|
||||
inner class SubInner : Super<String>.Inner() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user