Files
kotlin-fork/compiler/testData/cli/jvm/noStdlib.kt
T
Alexander Udalov 8811165de8 Report error on callable reference or class literal with "-no-stdlib"
Also workaround the NoSuchElementException that was happening because error
type never has any type arguments

 #KT-14547 Fixed
2017-01-30 20:27:17 +03:00

8 lines
112 B
Kotlin
Vendored

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