Report VIRTUAL_MEMBER_HIDDEN on declaration name

#KT-13749 Fixed
This commit is contained in:
Dmitry Petrov
2017-05-25 14:57:26 +03:00
parent 96f7a2d38a
commit 9908212c99
12 changed files with 23 additions and 23 deletions
@@ -25,7 +25,7 @@ fun test() {
}
class E: A() {
<!VIRTUAL_MEMBER_HIDDEN!>fun foo()<!> = A()
fun <!VIRTUAL_MEMBER_HIDDEN!>foo<!>() = A()
init {
val a: A = foo() // todo: discuss