Use more specific status to report diagnostics

#KT-12737 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-07-10 10:58:36 +03:00
parent 178bb900b4
commit e82c909f75
11 changed files with 69 additions and 14 deletions
@@ -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
}
}