diff --git a/libraries/stdlib/jvm/src/kotlin/reflect/KFunction.kt b/libraries/stdlib/jvm/src/kotlin/reflect/KFunction.kt index 72b975b9313..41c9c2d25bb 100644 --- a/libraries/stdlib/jvm/src/kotlin/reflect/KFunction.kt +++ b/libraries/stdlib/jvm/src/kotlin/reflect/KFunction.kt @@ -8,7 +8,7 @@ package kotlin.reflect /** * Represents a function with introspection capabilities. */ -public interface KFunction : KCallable, Function { +public actual interface KFunction : KCallable, Function { /** * `true` if this function is `inline`. * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/inline-functions.html) diff --git a/libraries/stdlib/src/kotlin/reflect/KFunction.kt b/libraries/stdlib/src/kotlin/reflect/KFunction.kt new file mode 100644 index 00000000000..d0a5fcea831 --- /dev/null +++ b/libraries/stdlib/src/kotlin/reflect/KFunction.kt @@ -0,0 +1,11 @@ +/* + * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package kotlin.reflect + +/** + * Represents a function with introspection capabilities. + */ +public expect interface KFunction : KCallable, Function \ No newline at end of file