19 lines
448 B
Kotlin
Vendored
19 lines
448 B
Kotlin
Vendored
inline fun inlineFun() {
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>fun<!> localFun() {}
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>class<!> LocalClass {}
|
|
}
|
|
|
|
fun outerFun() {
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>inline<!> fun localInlineFun() {}
|
|
}
|
|
|
|
abstract class Base {
|
|
abstract fun withDefault(f: () -> Unit = { -> })
|
|
}
|
|
|
|
class Derived : Base() {
|
|
override final inline fun withDefault(
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>f: () -> Unit<!>
|
|
) {}
|
|
}
|