Do not report "accidental overrides" when "override" modifier is specified
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
trait B {
|
||||
fun getX() = 1
|
||||
}
|
||||
|
||||
class C : B {
|
||||
<!NOTHING_TO_OVERRIDE!>override<!> val x = 1
|
||||
}
|
||||
Reference in New Issue
Block a user