Add SKIP_DCE_DRIVEN directive in JS-IR tests

Otherwise they fail with a compiler exception:
"An operation is not implemented: SAM conversion"
This commit is contained in:
Ilya Gorbunov
2020-06-15 19:07:12 +03:00
parent de6154980d
commit 2fe222e8e7
13 changed files with 13 additions and 0 deletions
@@ -1,5 +1,6 @@
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
// SKIP_DCE_DRIVEN
fun sort(list: MutableList<String>, comparator: (String, String) -> Int) {
list.sortWith(Comparator(comparator))