Files
kotlin-fork/compiler/testData/cli/jvm/noReflect.kt
T
Alexander Udalov 0d26087040 CLI, Ant: add kotlin-reflect.jar to classpath by default, support "-no-reflect"
Note that now "-no-stdlib" implies "-no-reflect".

 #KT-13237 Fixed
2016-08-09 11:24:24 +03:00

7 lines
91 B
Kotlin
Vendored

import kotlin.reflect.*
fun foo() {
String::class.primaryConstructor
listOf(42)
}