11 lines
201 B
Plaintext
Vendored
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)
|
|
}
|
|
}
|