[K2/N] KT-55828 Enable already fixed and accidentally disabled tests

Merge-request: KT-MR-8605
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-02-01 10:44:26 +00:00
committed by Space Team
parent 1d309cbbb2
commit fbcb07d375
65 changed files with 2 additions and 128 deletions
@@ -2,8 +2,6 @@
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// WITH_STDLIB
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A() {
ENTRY(){ override fun t() = "OK"};
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class E {
ENTRY;
@@ -1,6 +1,4 @@
// http://youtrack.jetbrains.com/issue/KT-2167
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Season {
WINTER,
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
private var logs = ""
enum class Foo(val text: String) {
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Game {
ROCK,
PAPER,
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
fun f(): String = "O"
fun g(): String = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A {
X {
val x = "OK"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A {
X {
val k = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Empty
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A(
name: String,
ordinal: Int
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// WITH_STDLIB
// MODULE: lib
// FILE: lib.kt
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// WITH_STDLIB
// MODULE: lib
// FILE: common.kt
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Color(val rgb: Int) {
RED(0xff0000),
GREEN(0x00ff00),
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// IGNORE_BACKEND: WASM
enum class E { OK }
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// KT-4423 Enum with function not compiled
// SKIP_MANGLE_VERIFICATION
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
package foo
enum class X {
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
package test
enum class Season {
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
fun box() = if(Context.operatingSystemType == Context.Companion.OsType.OTHER) "OK" else "fail"
public class Context
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
var l = ""
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: WASM
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
var l = ""
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// IGNORE_BACKEND: JS
var l = ""
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// DONT_TARGET_EXACT_BACKEND: JS
// DONT_TARGET_EXACT_BACKEND: JS_IR
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
class A {
enum class E {
OK
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A {
X {
val x = "OK"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A {
X {
val x = "OK"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A {
X {
val x = "OK"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
class A {
companion object {}
enum class E {
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Direction() {
NORTH {
val someSpecialValue = "OK"
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Bar {
ONE,
TWO
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// SKIP_DCE_DRIVEN
enum class Bar {
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Test(val x: String, val closure1: () -> String) {
FOO("O", { FOO.x }) {
override val y: String = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Test(val x: String, val closure1: () -> String) {
FOO("O", run { { FOO.x } }) {
override val y: String = "K"
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// SKIP_MANGLE_VERIFICATION
enum class Foo(
val x: String,
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// SKIP_MANGLE_VERIFICATION
interface Callback {
fun invoke(): String
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class A(val b: String) {
E1("OK"){ override fun t() = b };
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class E(val b: Boolean) {
TRUE(1 == 1)
}
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class ContentType {
PLAIN_TEXT {
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
interface IFoo {
fun foo(e: En): String
}
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
fun call(f: () -> Unit) {
f()
}
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
override val value = "OK"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
override val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
override val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
val value2 = "K"
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
fun <T, R> T.letNoInline(fn: (T) -> R) =
fn(this)
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class X {
B {
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class IssueState {
FIXED {
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class ClassTemplate(
// var bug: Int = 1,
var code: Int,
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class State {
_0,
_1,
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// WITH_STDLIB
package foo
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class E {
A;
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Enum {
ENUM_VALUE {
override fun test() = ENUM_VALUE
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Season {
WINTER,
SPRING,
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
// WITH_STDLIB
import Game.*
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
package test
fun box() = E.E1.f() + E.E2.f()
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class State {
O,
K
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Color {
RED,
-2
View File
@@ -1,5 +1,3 @@
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class E {
OK, NOT_OK
}
@@ -1,4 +1,4 @@
// KT-55828
// KT-56326
// IGNORE_BACKEND_K2: NATIVE
import Host.x
+1 -1
View File
@@ -1,4 +1,4 @@
// KT-55828
// KT-56326
// IGNORE_BACKEND_K2: NATIVE
class CallbackBlock {}