diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java index 8646c81a522..d1900deee51 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java @@ -20048,6 +20048,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java index 03ca3bdb2e2..60251f560d5 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java @@ -20048,6 +20048,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index e3206a15ff4..cf633bf3865 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -19977,6 +19977,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java index c38f7bc59ef..2592a51778e 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java @@ -19977,6 +19977,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index 6bd4c4d428e..15553df2f57 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -19977,6 +19977,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/FirStatusResolveTransformer.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/FirStatusResolveTransformer.kt index 7a8d1bdb867..93f2682299a 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/FirStatusResolveTransformer.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/FirStatusResolveTransformer.kt @@ -364,11 +364,11 @@ abstract class AbstractFirStatusResolveTransformer( } private fun forceResolveStatusesOfClass(regularClass: FirRegularClass) { - if (regularClass.origin is FirDeclarationOrigin.Java || regularClass.origin == FirDeclarationOrigin.Precompiled) { + if (regularClass.origin != FirDeclarationOrigin.Source) { /* - * If regular class has no corresponding file then it is platform class, + * If regular class has no corresponding file then it is platform or binary class, * so we need to resolve supertypes of this class because they could - * come from kotlin sources + * come from kotlin sources (e.g. for java classes or cases of classpath substitution) */ val statusComputationStatus = statusComputationSession[regularClass] if (!statusComputationStatus.requiresComputation) return @@ -380,7 +380,6 @@ abstract class AbstractFirStatusResolveTransformer( return } - if (regularClass.origin != FirDeclarationOrigin.Source) return val statusComputationStatus = statusComputationSession[regularClass] if (!statusComputationStatus.requiresComputation) return if (!resolveClassForSuperType(regularClass)) return diff --git a/compiler/testData/codegen/box/fir/sourceBinarySource.kt b/compiler/testData/codegen/box/fir/sourceBinarySource.kt new file mode 100644 index 00000000000..007a08f0124 --- /dev/null +++ b/compiler/testData/codegen/box/fir/sourceBinarySource.kt @@ -0,0 +1,27 @@ +// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 +// KT-65822: JS targets are ignored, as they doesn't support source-binary-source dependencies +// IGNORE_BACKEND_K2: WASM +// Reason: KT-65794 +// IGNORE_NATIVE: cacheMode=STATIC_EVERYWHERE && target=linux_x64 +// ISSUE: KT-65669 + +// MODULE: a +// FILE: a.kt +abstract class Base { + open fun foo() {} +} + +open class Derived : Base() + +// MODULE: b(a) +// FILE: first.kt +class Impl : Derived() { + override fun foo() {} +} + +// FILE: second.kt +abstract class Base { + open fun foo() {} +} + +fun box(): String = "OK" diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java index f1536ee9c58..2707f3bc76e 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java @@ -19977,6 +19977,12 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index aa6c294348e..f8d7971309e 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -18909,6 +18909,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 2802eeec5e7..f4d5c410ed0 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -19977,6 +19977,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index a3d85d6ff42..32469f8f296 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -19977,6 +19977,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 4fa7812ce6f..b8cfe7bd833 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -16645,6 +16645,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @TestMetadata("StackOverflowInAnnotationLoader.kt") public void testStackOverflowInAnnotationLoader() throws Exception { runTest("compiler/testData/codegen/box/fir/StackOverflowInAnnotationLoader.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index 1d894a54f0f..59ea517ae35 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -14769,6 +14769,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java index 7c6bdd985ec..90ffcc4a259 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java @@ -14769,6 +14769,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index 25bebcf1a5e..3c8a3ac0009 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -14769,6 +14769,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index b605d0362f2..20277d453bd 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -14769,6 +14769,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java index c3d5934842d..6356a19b47a 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java @@ -15905,6 +15905,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java index 92a8a322e40..32b3432c620 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java @@ -16273,6 +16273,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java index 7e732b3808e..5462c7b7c07 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java @@ -15537,6 +15537,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java index 18865d1d4ab..7c571073b6d 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java @@ -15906,6 +15906,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java index 1bc7d6b6601..0d3090b5f2a 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java @@ -14745,6 +14745,12 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java index 3e09ea4a4d7..9a9affb0e6b 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java @@ -14745,6 +14745,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest runTest("compiler/testData/codegen/box/fir/smartCastToInvisibleClassMember.kt"); } + @Test + @TestMetadata("sourceBinarySource.kt") + public void testSourceBinarySource() throws Exception { + runTest("compiler/testData/codegen/box/fir/sourceBinarySource.kt"); + } + @Test @TestMetadata("starProjectionLambdaNullReturn.kt") public void testStarProjectionLambdaNullReturn() throws Exception {