Do not report "accidental overrides" when "override" modifier is specified

This commit is contained in:
Andrey Breslav
2014-06-17 17:50:40 +04:00
parent 9f29a8b263
commit f0da5d570e
5 changed files with 16 additions and 3 deletions
@@ -0,0 +1,7 @@
trait B {
fun getX() = 1
}
class C : B {
<!NOTHING_TO_OVERRIDE!>override<!> val x = 1
}