05e22e56d3
^KT-59057 Merge-request: KT-MR-10570 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
17 lines
474 B
Kotlin
Vendored
17 lines
474 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib
|
|
|
|
// WITH_REFLECT
|
|
|
|
import kotlin.test.*
|
|
|
|
fun box(): String {
|
|
val asIterable = List<Int>::asIterable
|
|
assertEquals("fun kotlin.collections.Iterable<T>.asIterable(): kotlin.collections.Iterable<T>", asIterable.toString())
|
|
|
|
val lazyOf: (String) -> Lazy<String> = ::lazyOf
|
|
assertEquals("fun lazyOf(T): kotlin.Lazy<T>", lazyOf.toString())
|
|
|
|
return "OK"
|
|
}
|