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
@@ -38,13 +38,17 @@ val copySources by task<Sync> {
.include("kotlin/TypeAliases.kt",
"kotlin/text/TypeAliases.kt")
from(stdlibProjectDir.resolve("src"))
.include("kotlin/collections/TypeAliases.kt")
.include("kotlin/collections/TypeAliases.kt",
"kotlin/enums/EnumEntriesSerializationProxy.kt")
from(stdlibProjectDir.resolve("../src"))
.include("kotlin/util/Standard.kt",
"kotlin/internal/Annotations.kt",
"kotlin/contracts/ContractBuilder.kt",
"kotlin/contracts/Effect.kt",
"kotlin/annotations/WasExperimental.kt")
"kotlin/annotations/WasExperimental.kt",
"kotlin/enums/EnumEntries.kt",
"kotlin/collections/AbstractList.kt",
"kotlin/io/Serializable.kt")
into(File(buildDir, "src"))
}
@@ -3,6 +3,8 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE") // for building kotlin-stdlib-jvm-minimal-for-test
package kotlin.enums
@Suppress("UNCHECKED_CAST", "unused")
@@ -3,6 +3,8 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE") // for building kotlin-stdlib-jvm-minimal-for-test
package kotlin.enums
import kotlin.jvm.Volatile