Fix failed tests

This commit is contained in:
Zalim Bashorov
2016-11-07 16:30:53 +03:00
parent 1dedb38481
commit a27572af49
7 changed files with 22 additions and 59 deletions
@@ -1,8 +1,8 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// !DIAGNOSTICS: -UNUSED_PARAMETER
tailrec fun withWhen(counter : Int, d : Any) : Int =
when (counter) {
0 -> counter