8 lines
107 B
Kotlin
Vendored
8 lines
107 B
Kotlin
Vendored
fun bar(doIt: Int.() -> Int) {
|
|
1.doIt()
|
|
1?.doIt()
|
|
val i: Int? = 1
|
|
i.doIt()
|
|
i?.doIt()
|
|
}
|