Do not use reflection it local/top-level lateinit tests

This commit is contained in:
Dmitry Petrov
2017-08-30 14:12:31 +03:00
parent 638eb28692
commit c8d25c587a
9 changed files with 59 additions and 14 deletions
@@ -1,5 +1,5 @@
// LANGUAGE_VERSION: 1.2
// WITH_REFLECT
// WITH_RUNTIME
// IGNORE_BACKEND: JS, NATIVE
import kotlin.UninitializedPropertyAccessException
@@ -15,6 +15,6 @@ fun box(): String {
return "OK"
}
catch (e: Throwable) {
return "Unexpected exception: ${e::class.qualifiedName}"
return "Unexpected exception: ${e::class}"
}
}