Add inspection for redundant overrides that only calls the super method

So #KT-19428 Fixed
This commit is contained in:
takahirom
2017-08-15 12:45:38 +03:00
committed by Mikhail Glukhikh
parent 8af7a25f8e
commit 806aa7d4c1
18 changed files with 317 additions and 1 deletions
@@ -0,0 +1,10 @@
open class Foo {
open fun simple() {
}
}
class Bar : Foo() {
override <caret>fun simple() {
super.simple()
}
}