Files
kotlin-fork/idea/testData/quickfix/migration/operatorModifier/forOverride.kt.after
T
Valentin Kipyatkov 563ad4bab2 Added test
2015-10-19 09:43:12 +03:00

11 lines
201 B
Plaintext
Vendored

// "Add 'operator' modifier" "true"
open class A {
open fun plus(other: A): A = A()
}
class B : A() {
override operator fun <caret>plus(other: A): A {
return super.plus(other)
}
}