[KT-59294] Fix for the WRONG_JS_INTEROP_TYPE error in K1WasmJsTranslatorTestGenerated::simpleUndefined

This commit is contained in:
Shagen Ogandzhanian
2023-07-20 17:30:08 +02:00
committed by teamcity
parent eb7805baf9
commit 9bc9014c26
+2 -1
View File
@@ -1,7 +1,8 @@
// EXPECTED_REACHABLE_NODES: 1281
package foo
external val c: Any? = definedExternally
external interface MyAny
external val c: MyAny? = definedExternally
fun box(): String {
if (c != null) return "fail1"