mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
8 lines
129 B
Kotlin
Vendored
8 lines
129 B
Kotlin
Vendored
package test
|
|
|
|
public class Z(public var s: Int)
|
|
|
|
operator inline fun Z.plusAssign(lambda: () -> Int) {
|
|
this.s += lambda()
|
|
}
|