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