mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.
9 lines
209 B
Kotlin
Vendored
9 lines
209 B
Kotlin
Vendored
// "Add 'kotlin.Any' as upper bound for E" "true"
|
|
// WITH_RUNTIME
|
|
import kotlin.reflect.KClass
|
|
|
|
|
|
inline fun <reified /* abc */ E> bar() = E::class.oldJava<caret>
|
|
|
|
val <T: Any> KClass<T>.oldJava get() = java
|