mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Previously examples were failing with IllegalStateException from JVM back-end because there was an error type without any error reported
11 lines
350 B
Kotlin
Vendored
11 lines
350 B
Kotlin
Vendored
// !LANGUAGE: -BoundCallableReferences
|
|
|
|
import kotlin.reflect.KClass
|
|
|
|
val <T : Any> KClass<T>.java: Class<T> get() = null!!
|
|
|
|
val <T : Any> KClass<T>.foo: Any?
|
|
get() {
|
|
return <!UNSUPPORTED_FEATURE!>java.<!UNRESOLVED_REFERENCE!>lang<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>Integer<!><!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>hashCode<!>
|
|
}
|