Annotate kotlin.reflect.jvm.reflect with ExperimentalReflectionOnLambdas

This function was always experimental, as explained in its kdoc, but it
was introduced before opt-in requirement markers were supported. Thus,
breaking changes (such as in KT-42746) were always expected, and the
`@ExperimentalReflectionOnLambdas` annotation just makes it clearer.

 #KT-45486 Fixed
This commit is contained in:
Alexander Udalov
2021-03-11 14:56:48 +01:00
parent 43140db65e
commit fc36178f3a
11 changed files with 42 additions and 3 deletions
@@ -1,5 +1,5 @@
// !USE_EXPERIMENTAL: kotlin.reflect.jvm.ExperimentalReflectionOnLambdas
// TARGET_BACKEND: JVM
// WITH_REFLECT
import kotlin.reflect.KParameter