[JS IR BE] Add KJS_WITH_FULL_RUNTIME directive to compiler tests

This commit is contained in:
Svyatoslav Kuzmich
2019-01-20 01:31:02 +03:00
parent 185d0c6165
commit aa811dcfb3
500 changed files with 500 additions and 0 deletions
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
class Wrapper<T>(val value: T)
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
class Container {
var id: Int? = null
@@ -1,5 +1,6 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
fun sort(list: MutableList<String>, comparator: (String, String) -> Int) {
list.sortWith(Comparator(comparator))