diff --git a/compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt b/compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt index dbad0339935..9a9e9874e98 100644 --- a/compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt +++ b/compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt @@ -2,6 +2,7 @@ // Char issues // IGNORE_BACKEND: JS_IR +// MODULE: main // FILE: externals.js function apply7(f) { @@ -19,18 +20,18 @@ function is123Array(ei) { } function externalWithLambdas2( - boolean, // () -> Boolean, - byte, // () -> Byte, - short, // () -> Short, - char, // () -> Char, - int, // () -> Int, - long, // () -> Long, - float, // () -> Float, - double, // () -> Double, - string, // () -> String, - ei, // () -> EI, - dc, // () -> DC, - dcGetY, // (DC) -> Int +boolean, // () -> Boolean, +byte, // () -> Byte, +short, // () -> Short, +char, // () -> Char, +int, // () -> Int, +long, // () -> Long, +float, // () -> Float, +double, // () -> Double, +string, // () -> String, +ei, // () -> EI, +dc, // () -> DC, +dcGetY, // (DC) -> Int ) { let result = 0 function test(boolean) { @@ -54,17 +55,17 @@ function externalWithLambdas2( function createJsLambda() { return ( boolean, - byte, - short, - char, - int, - long, - float, - double, - string, - ei, - dc, - dcGetY + byte, + short, + char, + int, + long, + float, + double, + string, + ei, + dc, + dcGetY ) => { let result = 0; function test(x) { @@ -86,7 +87,6 @@ function createJsLambda() { }; } -// MODULE: main // FILE: externals.kt external fun createJsLambda(): (Boolean, Byte, Short, Char, Int, Long, Float, Double, String, EI, DC, (DC) -> Int) -> Int