[Test] Enable reporting errors from fronted to testdata of codegen tests

This commit is contained in:
Dmitriy Novozhilov
2021-05-14 15:48:34 +03:00
committed by TeamCityServer
parent df60e7368a
commit 47e258ef6e
28 changed files with 116 additions and 23 deletions
@@ -7,6 +7,7 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// DONT_RUN_GENERATED_CODE: JS
// IGNORE_BACKEND: JS
// IGNORE_FIR_DIAGNOSTICS_DIFF
tailrec fun withWhen(counter : Int, d : Any) : Int =
when (counter) {
@@ -18,4 +19,4 @@ tailrec fun withWhen(counter : Int, d : Any) : Int =
else -> withWhen(counter - 1, "else")
}
fun box() : String = if (withWhen(100000, "test") == 1) "OK" else "FAIL"
fun box() : String = if (withWhen(100000, "test") == 1) "OK" else "FAIL"