Adjust js stdlib to isEmpty transformation

This commit is contained in:
Denis Zharkov
2015-10-09 14:07:41 +03:00
parent 61459961fc
commit 83b680935b
5 changed files with 26 additions and 18 deletions
@@ -11,7 +11,7 @@ fun box(): String {
assertTrue((stdlib_emptyListClass(): Any) is List<*>, "stdlib_emptyListClass() is List<*> #2")
assertTrue((stdlib_emptyListClass(): Any) !is ArrayList<*>, "stdlib_emptyListClass() !is ArrayList<*>")
assertTrue(stdlib_emptyListClass().isEmpty(), "stdlib_emptyListClass().isEmpty()")
assertTrue(stdlib_emptyListClass().isEmpty, "stdlib_emptyListClass().isEmpty")
assertTrue(stdlib_emptyListClass().size() == 0, "stdlib_emptyListClass().size() == 0")
return "OK"