Refine diagnostic about type arguments for an outer class
#KT-11263 Fixed
This commit is contained in:
Vendored
+2
-2
@@ -2,6 +2,6 @@ interface Inv<X>
|
||||
class Outer<E> {
|
||||
inner class Inner
|
||||
|
||||
class Nested : Inv<<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Inner<!>>
|
||||
object Obj : Inv<<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Inner<!>>
|
||||
class Nested : Inv<<!OUTER_CLASS_ARGUMENTS_REQUIRED!>Inner<!>>
|
||||
object Obj : Inv<<!OUTER_CLASS_ARGUMENTS_REQUIRED!>Inner<!>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user