From 3c0048bfd8abfee33ed05f7eeaa0ffcffd4cdb61 Mon Sep 17 00:00:00 2001 From: Svyatoslav Kuzmich Date: Tue, 14 Mar 2023 12:40:34 +0100 Subject: [PATCH] [Wasm] Add typealias diagnostic test cases --- compiler/testData/diagnostics/wasmTests/jsInterop/types.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compiler/testData/diagnostics/wasmTests/jsInterop/types.kt b/compiler/testData/diagnostics/wasmTests/jsInterop/types.kt index c66b2bb1337..9e277058bec 100644 --- a/compiler/testData/diagnostics/wasmTests/jsInterop/types.kt +++ b/compiler/testData/diagnostics/wasmTests/jsInterop/types.kt @@ -102,3 +102,10 @@ external fun < @JsExport fun exported(x: Any): Any = x + +typealias EI_alias = EI +typealias Any_alias = Any +external fun fooAlias( + ei: EI_alias, + any: Any_alias, +)