Rename: Drop 'operator' keyword if new name doesn't correspond to any convention

#KT-9357 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-29 20:27:55 +03:00
parent 1f6f617546
commit 2f251b9216
16 changed files with 42 additions and 28 deletions
@@ -1,7 +1,7 @@
class A(val n: Int, val s: String, val o: Any) {
fun component1(): Int = n
fun component2(): String = s
fun component3(): Any = o
operator fun component1(): Int = n
operator fun component2(): String = s
operator fun component3(): Any = o
}
fun test() {