Rename: Drop 'override' keyword when renaming function/property without bases

#KT-4790 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-29 20:48:14 +03:00
parent 2f251b9216
commit 896e1d8bc9
4 changed files with 27 additions and 6 deletions
@@ -1,5 +1,5 @@
class A(val n: Int) {
override fun foo(other: Any?): Boolean = other is A && other.n == n
fun foo(other: Any?): Boolean = other is A && other.n == n
}
fun test() {