Report warning on hided override by delegation when compile to 1.0 version

This commit is contained in:
Mikhael Bogdanov
2017-01-25 17:27:02 +01:00
parent 09a8a999c8
commit 0006a04b01
7 changed files with 71 additions and 7 deletions
-1
View File
@@ -1,6 +1,5 @@
// "Make 'A' abstract" "false"
// ERROR: Class 'X' must override public open fun foo(): Unit defined in X because it inherits many implementations of it
// ERROR: Delegated member 'fun foo(): Unit' hides supertype override: public open fun foo(): Unit defined in E. Please specify proper override explicitly
// ACTION: Create test
// ACTION: Make internal
// ACTION: Make private