Add EnumEntries to minimal-stdlib-for-tests

This change allows to revert adding `WITH_STDLIB` directive
to tests which happened at `a9343aeb`.

Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
This commit is contained in:
Nikolay Lunyak
2023-02-13 10:36:52 +02:00
committed by Space Team
parent 3b9724d20e
commit bcfafc601e
497 changed files with 600 additions and 318 deletions
+4
View File
@@ -252,6 +252,8 @@ public final enum class DeprecationLevel : kotlin.Enum<kotlin.DeprecationLevel>
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel>
} }
@@ -691,6 +693,8 @@ public abstract class Number : kotlin.Any, java.io.Serializable {
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level>
} }
+4
View File
@@ -254,6 +254,8 @@ public final enum class DeprecationLevel : kotlin.Enum<kotlin.DeprecationLevel>
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel>
} }
@@ -693,6 +695,8 @@ public abstract class Number : kotlin.Any, java.io.Serializable {
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level>
} }
@@ -252,6 +252,8 @@ public final enum class DeprecationLevel : kotlin.Enum<kotlin.DeprecationLevel>
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.DeprecationLevel!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.DeprecationLevel>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.DeprecationLevel
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.DeprecationLevel>
} }
@@ -691,6 +693,8 @@ public abstract class Number : kotlin.Any, java.io.Serializable {
public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>! public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<kotlin.RequiresOptIn.Level!>!
// Static members // Static members
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun `<get-entries>`(): kotlin.enums.EnumEntries<kotlin.RequiresOptIn.Level>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): kotlin.RequiresOptIn.Level
public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level> public final /*synthesized*/ fun values(): kotlin.Array<kotlin.RequiresOptIn.Level>
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IR_DIFFERENCE // IR_DIFFERENCE
// EMIT_JVM_TYPE_ANNOTATIONS // EMIT_JVM_TYPE_ANNOTATIONS
// RENDER_ANNOTATIONS // RENDER_ANNOTATIONS
@@ -1,4 +1,3 @@
// WITH_STDLIB
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
enum class SomeEnum { enum class SomeEnum {
@@ -1,4 +1,3 @@
// WITH_STDLIB
// !LANGUAGE: +NestedClassesInAnnotations // !LANGUAGE: +NestedClassesInAnnotations
annotation class Foo(val kind: Kind) { annotation class Foo(val kind: Kind) {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface A<T> { interface A<T> {
open fun foo(t: T) = "A" open fun foo(t: T) = "A"
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface A<T> { interface A<T> {
open fun foo(t: T) = "A" open fun foo(t: T) = "A"
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: WASM // IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: FUNCTION_REFERENCES // WASM_MUTE_REASON: FUNCTION_REFERENCES
// IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS, JS_IR
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class E { enum class E {
ENTRY ENTRY
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface Named { interface Named {
val name: String val name: String
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class E { enum class E {
I I
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
import kotlin.reflect.KProperty1 import kotlin.reflect.KProperty1
class Q { class Q {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
package example2 package example2
fun box() = Context.OsType.OK.toString() fun box() = Context.OsType.OK.toString()
@@ -1,4 +1,3 @@
// WITH_STDLIB
abstract class Base(val fn: () -> Test) abstract class Base(val fn: () -> Test)
enum class Test(val ok: String) { enum class Test(val ok: String) {
@@ -1,4 +1,3 @@
// WITH_STDLIB
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,4 +1,3 @@
// WITH_STDLIB
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,4 +1,3 @@
// WITH_STDLIB
// MODULE: lib // MODULE: lib
// FILE: 1.kt // FILE: 1.kt
@@ -1,4 +1,3 @@
// WITH_STDLIB
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,4 +1,3 @@
// WITH_STDLIB
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A(val a: Int = 1) { enum class A(val a: Int = 1) {
FIRST(), FIRST(),
SECOND(2) SECOND(2)
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Foo(val a: Int = 1, val b: String) { enum class Foo(val a: Int = 1, val b: String) {
B(2, "b"), B(2, "b"),
C(b = "b") C(b = "b")
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Foo(val a: Int = 1, val b: String = "a") { enum class Foo(val a: Int = 1, val b: String = "a") {
A(), A(),
B(2, "b"), B(2, "b"),
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Foo(val a: Double = 1.0, val b: Double = 1.0) { enum class Foo(val a: Double = 1.0, val b: Double = 1.0) {
A(), A(),
B(2.0, 2.0), B(2.0, 2.0),
@@ -1,5 +1,4 @@
// CHECK_BYTECODE_LISTING // CHECK_BYTECODE_LISTING
// WITH_STDLIB
import O.d import O.d
@@ -1,5 +1,4 @@
// CHECK_BYTECODE_LISTING // CHECK_BYTECODE_LISTING
// WITH_STDLIB
enum class E { X } enum class E { X }
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JVM // IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS // IGNORE_LIGHT_ANALYSIS
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
ONE, ONE,
TWO; TWO;
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
ONE, ONE,
TWO TWO
@@ -1,4 +1,3 @@
// WITH_STDLIB
import A.ONE import A.ONE
enum class A { enum class A {
@@ -1,4 +1,3 @@
// WITH_STDLIB
import A.ONE import A.ONE
enum class A { enum class A {
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A() { enum class A() {
ENTRY(){ override fun t() = "OK"}; ENTRY(){ override fun t() = "OK"};
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class E { enum class E {
ENTRY; ENTRY;
@@ -1,4 +1,3 @@
// WITH_STDLIB
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// FILE: Foo.java // FILE: Foo.java
@@ -1,4 +1,3 @@
// WITH_STDLIB
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// FILE: Foo.java // FILE: Foo.java
@@ -1,4 +1,3 @@
// WITH_STDLIB
// http://youtrack.jetbrains.com/issue/KT-2167 // http://youtrack.jetbrains.com/issue/KT-2167
enum class Season { enum class Season {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM // IGNORE_BACKEND: JVM
@@ -1,4 +1,3 @@
// WITH_STDLIB
private var logs = "" private var logs = ""
enum class Foo(val text: String) { enum class Foo(val text: String) {
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Game { enum class Game {
ROCK, ROCK,
PAPER, PAPER,
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
fun f(): String = "O" fun f(): String = "O"
fun g(): String = "K" fun g(): String = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// IGNORE_BACKEND_K2: JVM_IR // IGNORE_BACKEND_K2: JVM_IR
// K2 status: declaringClass is error for enums since Kotlin 1.9 // K2 status: declaringClass is error for enums since Kotlin 1.9
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
X { X {
val x = "OK" val x = "OK"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
X { X {
val k = "K" val k = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Test(val str: String = "OK") { enum class Test(val str: String = "OK") {
OK OK
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Test(vararg xs: Int) { enum class Test(vararg xs: Int) {
OK; OK;
val values = xs val values = xs
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Test(val str: String = "OK") { enum class Test(val str: String = "OK") {
OK { OK {
fun foo() {} fun foo() {}
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR, NATIVE // IGNORE_BACKEND_K2: JS_IR, NATIVE
enum class Test { enum class Test {
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR, NATIVE // IGNORE_BACKEND_K2: JS_IR, NATIVE
enum class Test(val x: Int, val str: String) { enum class Test(val x: Int, val str: String) {
OK; OK;
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR, NATIVE // IGNORE_BACKEND_K2: JS_IR, NATIVE
enum class Test(val x: Int, val str: String) { enum class Test(val x: Int, val str: String) {
OK; OK;
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR, NATIVE // IGNORE_BACKEND_K2: JS_IR, NATIVE
package test package test
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Empty enum class Empty
@@ -1,4 +1,3 @@
// WITH_STDLIB
// DONT_TARGET_EXACT_BACKEND: JS // DONT_TARGET_EXACT_BACKEND: JS
// DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A( enum class A(
name: String, name: String,
ordinal: Int ordinal: Int
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface IFoo { interface IFoo {
fun foo(): String fun foo(): String
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface IFoo { interface IFoo {
fun foo(): String fun foo(): String
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface IFoo { interface IFoo {
fun foo(): String fun foo(): String
} }
@@ -1,4 +1,3 @@
// WITH_STDLIB
package test package test
fun box() = MyEnum.E1.f() + MyEnum.E2.f() fun box() = MyEnum.E1.f() + MyEnum.E2.f()
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Color(val rgb: Int) { enum class Color(val rgb: Int) {
RED(0xff0000), RED(0xff0000),
GREEN(0x00ff00), GREEN(0x00ff00),
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: WASM // IGNORE_BACKEND: WASM
enum class E { OK } enum class E { OK }
@@ -1,4 +1,3 @@
// WITH_STDLIB
// KT-4423 Enum with function not compiled // KT-4423 Enum with function not compiled
// SKIP_MANGLE_VERIFICATION // SKIP_MANGLE_VERIFICATION
@@ -1,4 +1,3 @@
// WITH_STDLIB
package foo package foo
enum class X { enum class X {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
package test package test
enum class Season { enum class Season {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
fun box() = if(Context.operatingSystemType == Context.Companion.OsType.OTHER) "OK" else "fail" fun box() = if(Context.operatingSystemType == Context.Companion.OsType.OTHER) "OK" else "fail"
public class Context public class Context
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
var l = "" var l = ""
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
// IGNORE_BACKEND: WASM // IGNORE_BACKEND: WASM
@@ -1,4 +1,3 @@
// WITH_STDLIB
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS
var l = "" var l = ""
@@ -1,4 +1,3 @@
// WITH_STDLIB
// DONT_TARGET_EXACT_BACKEND: JS // DONT_TARGET_EXACT_BACKEND: JS
// DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
class A { class A {
enum class E { enum class E {
OK OK
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
X { X {
val x = "OK" val x = "OK"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
X { X {
val x = "OK" val x = "OK"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A { enum class A {
X { X {
val x = "OK" val x = "OK"
@@ -1,4 +1,3 @@
// WITH_STDLIB
class A { class A {
companion object {} companion object {}
enum class E { enum class E {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Direction() { enum class Direction() {
NORTH { NORTH {
val someSpecialValue = "OK" val someSpecialValue = "OK"
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Bar { enum class Bar {
ONE, ONE,
TWO TWO
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
// SKIP_DCE_DRIVEN // SKIP_DCE_DRIVEN
enum class Bar { enum class Bar {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Test(val x: String, val closure1: () -> String) { enum class Test(val x: String, val closure1: () -> String) {
FOO("O", { FOO.x }) { FOO("O", { FOO.x }) {
override val y: String = "K" override val y: String = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class Test(val x: String, val closure1: () -> String) { enum class Test(val x: String, val closure1: () -> String) {
FOO("O", run { { FOO.x } }) { FOO("O", run { { FOO.x } }) {
override val y: String = "K" override val y: String = "K"
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
// SKIP_MANGLE_VERIFICATION // SKIP_MANGLE_VERIFICATION
enum class Foo( enum class Foo(
val x: String, val x: String,
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
// SKIP_MANGLE_VERIFICATION // SKIP_MANGLE_VERIFICATION
interface Callback { interface Callback {
fun invoke(): String fun invoke(): String
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class A(val b: String) { enum class A(val b: String) {
E1("OK"){ override fun t() = b }; E1("OK"){ override fun t() = b };
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class E(val b: Boolean) { enum class E(val b: Boolean) {
TRUE(1 == 1) TRUE(1 == 1)
} }
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class ContentType { enum class ContentType {
PLAIN_TEXT { PLAIN_TEXT {
@@ -1,4 +1,3 @@
// WITH_STDLIB
interface IFoo { interface IFoo {
fun foo(e: En): String fun foo(e: En): String
} }
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
fun call(f: () -> Unit) { fun call(f: () -> Unit) {
f() f()
} }
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
val value2 = "K" val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
val value2 = "K" val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
val value2 = "K" val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
override val value = "OK" override val value = "OK"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
override val value2 = "K" override val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
override val value2 = "K" override val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
val value2 = "K" val value2 = "K"
@@ -1,4 +1,3 @@
// WITH_STDLIB
fun <T, R> T.letNoInline(fn: (T) -> R) = fun <T, R> T.letNoInline(fn: (T) -> R) =
fn(this) fn(this)
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class X { enum class X {
B { B {
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class IssueState { enum class IssueState {
FIXED { FIXED {
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class ClassTemplate( enum class ClassTemplate(
// var bug: Int = 1, // var bug: Int = 1,
var code: Int, var code: Int,
-1
View File
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class State { enum class State {
_0, _0,
_1, _1,
@@ -1,4 +1,3 @@
// WITH_STDLIB
enum class E { enum class E {
A; A;

Some files were not shown because too many files have changed in this diff Show More