mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
It was supposed to be used in reflection but the benefits do not outweigh the cost of KT-6951 #KT-3223 Fixed #KT-6951 Fixed
13 lines
334 B
Kotlin
Vendored
13 lines
334 B
Kotlin
Vendored
package test
|
|
|
|
import kotlin.jvm.internal.Intrinsics
|
|
import kotlin.jvm.internal.Ref
|
|
|
|
fun foo(): String {
|
|
// This method call should be resolved to kotlin-runtime.jar
|
|
val r: String = Intrinsics.stringPlus(":", ")")
|
|
|
|
// This method call should be resolved to sources
|
|
return Ref.methodWhichDoesNotExistInKotlinRuntime()
|
|
}
|