From 56a48b11480a3351f52fc44236477b9d22847985 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 6 Dec 2023 13:20:16 +0200 Subject: [PATCH] [Test] Add missing `WITH_STDLIB` directive to test This particular test references kotlin.reflect.KProperty1 both in common and platform sourceset. And if there is no stdlib in dependecies it resolves to KProperty1 from builstins, which is expect (see KT-64061), which leads to broken expectations that after IR actualization there are no referenced expect classes --- .../k2/migratedOldTests/remap_expect_property_ref.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt index fdf6b187bd4..5da95d6e347 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt @@ -4,7 +4,7 @@ // TARGET_BACKEND: NATIVE // TARGET_BACKEND: WASM // TARGET_BACKEND: JVM_IR - +// WITH_STDLIB // MODULE: common // FILE: common.kt