Tests: minor, remove obsolete suppressions about enumEntries
The `enumEntries` intrinsic has been made public in 64c8ce18a0.
This commit is contained in:
committed by
Space Team
parent
65649673a7
commit
03fdba5aa7
@@ -9,8 +9,6 @@ public enum Z {
|
||||
|
||||
// FILE: box.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
import kotlin.enums.*
|
||||
|
||||
fun callFromOtherFunctionInTheSameFile(): EnumEntries<Z> = enumEntries<Z>()
|
||||
|
||||
@@ -29,8 +29,6 @@ public enum Z {
|
||||
// !OPT_IN: kotlin.ExperimentalStdlibApi
|
||||
// FILE: box.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
import kotlin.enums.enumEntries
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
// !OPT_IN: kotlin.ExperimentalStdlibApi
|
||||
// FILE: 1.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
package test
|
||||
|
||||
import kotlin.enums.enumEntries
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
// !OPT_IN: kotlin.ExperimentalStdlibApi
|
||||
// FILE: 1.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
package test
|
||||
|
||||
import kotlin.enums.enumEntries
|
||||
|
||||
@@ -12,8 +12,6 @@ public enum Z {
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
package test
|
||||
|
||||
import kotlin.enums.enumEntries
|
||||
|
||||
@@ -11,8 +11,6 @@ public enum Z {
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
|
||||
package test
|
||||
|
||||
import kotlin.enums.enumEntries
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// WITH_STDLIB
|
||||
// !OPT_IN: kotlin.ExperimentalStdlibApi
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
import kotlin.enums.*
|
||||
|
||||
enum class MyEnum {
|
||||
|
||||
@@ -9,7 +9,6 @@ enum MyEnum {
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // TODO: remove once KT-53154 is fixed.
|
||||
import kotlin.enums.*
|
||||
|
||||
inline fun <reified T : Enum<T>> enumEntries2(): EnumEntries<T> = enumEntries<T>()
|
||||
|
||||
Reference in New Issue
Block a user