mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
18 lines
285 B
Kotlin
18 lines
285 B
Kotlin
package test
|
|
|
|
inline fun inline(s: () -> String): String {
|
|
return s()
|
|
}
|
|
|
|
class InlineAll {
|
|
|
|
inline fun inline(s: () -> String): String {
|
|
return s()
|
|
}
|
|
|
|
default object {
|
|
inline fun inline(s: () -> String): String {
|
|
return s()
|
|
}
|
|
}
|
|
} |