[Test] Enable reporting errors from fronted to testdata of codegen tests
This commit is contained in:
committed by
TeamCityServer
parent
df60e7368a
commit
47e258ef6e
+2
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user