[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
fun box(): String {
val sb = StringBuilder()
operator fun String.unaryPlus() {
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
class A {
private val sb: StringBuilder = StringBuilder()
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
fun box() : String {
val array = ArrayList<String>()
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
class Template() {
val collected = ArrayList<String>()
@@ -1,3 +1,4 @@
// KJS_WITH_FULL_RUNTIME
fun StringBuilder.first() = this.get(0)
fun foo() = StringBuilder("foo").first()