JS IR: mute codegen box tests automatically

This commit is contained in:
Anton Bannykh
2018-06-07 14:17:45 +03:00
parent 7e1713af44
commit 96355e2732
2384 changed files with 2384 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KProperty
val four: Int by NumberDecrypter
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KProperty
var result: String by Delegate
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
enum class E {
I
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
val Array<String>.firstElement: String get() = get(0)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
//For KT-6020
import kotlin.reflect.KProperty1
import kotlin.reflect.KMutableProperty1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
var state = ""
var topLevel: Int
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// KT-12044 Assertion "Rewrite at slice LEXICAL_SCOPE" for 'if' with property references
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class Foo(var bar: Int?)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
var recivier : Any? = "fail"
var value2 : Any? = "fail2"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
//WITH_RUNTIME
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
fun box(): String =
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class A {
var value: String = "fail1"
private set
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KMutableProperty
class Bar(name: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// See KT-12337 Reference to property with invisible setter should not be a KMutableProperty
import kotlin.reflect.KProperty1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class Box(var value: String)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class Box(val value: String)
var pr = Box("first")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
data class Box(val value: String)
val foo = Box("lol")