[JS BEs] Generate tests for whole "codegen/boxInline"

This commit is contained in:
Zalim Bashorov
2020-03-10 21:59:46 +03:00
parent fe3a81ebc9
commit 179ec41a6b
71 changed files with 7721 additions and 4213 deletions
@@ -1,3 +1,5 @@
// TODO: Reified generics required some design to unify behavior across all backends
// IGNORE_BACKEND: JS, JS_IR
// FILE: 1.kt
// WITH_RUNTIME
package test
@@ -47,9 +49,6 @@ inline fun failClassCast(s: () -> Unit) {
try {
s()
}
catch (e: TypeCastException) {
throw e
}
catch (e: ClassCastException) {
// OK
}