From 41e8b45def054c38ef559204aa35d86b01f1c77b Mon Sep 17 00:00:00 2001 From: Stanislav Ruban Date: Mon, 11 Mar 2024 03:50:21 +0200 Subject: [PATCH] [tests][FIR][checkers][Wasm] Add test data for KT-66473 --- .../diagnostics/wasmTests/jsInterop/inheritance.fir.kt | 6 ++++++ .../testData/diagnostics/wasmTests/jsInterop/inheritance.kt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.fir.kt b/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.fir.kt index 062d29f9d2d..29263f17485 100644 --- a/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.fir.kt +++ b/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.fir.kt @@ -20,3 +20,9 @@ class object : EI1 {} val x2: Any = object : EC1() {} + +external interface EI2 + +typealias TA1 = EI2 + +external class EC4 : TA1 diff --git a/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt b/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt index e565171e2ea..1460332cd35 100644 --- a/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt +++ b/compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt @@ -20,3 +20,9 @@ class object : EI1 {} val x2: Any = object : EC1() {} + +external interface EI2 + +typealias TA1 = EI2 + +external class EC4 : TA1