Use more specific status to report diagnostics
#KT-12737 Fixed
This commit is contained in:
@@ -16,6 +16,7 @@ class C : T {
|
||||
super.foo() // OK
|
||||
<!SUPER_CANT_BE_EXTENSION_RECEIVER!>super<!>.bar() // Error
|
||||
super.buzz() // OK, resolved to a member
|
||||
super.buzz1(<!NO_VALUE_FOR_PARAMETER!>)<!> // Resolved to a member, but error: no parameter passed where required
|
||||
<!SUPER_CANT_BE_EXTENSION_RECEIVER!>super<!>.buzz1() // Resolved to an extension
|
||||
super.buzz1(<!TYPE_MISMATCH!>""<!>) // Resolved to a member
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user