mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
9 lines
121 B
Plaintext
Vendored
9 lines
121 B
Plaintext
Vendored
// "Add 'operator' modifier" "true"
|
|
class A {
|
|
operator fun plus(a: A): A = A()
|
|
}
|
|
|
|
fun foo() {
|
|
A() <caret>+ A()
|
|
}
|