test: change function id in implicit cast test to prevent name clash.

This commit is contained in:
Artem Kobzar
2022-03-31 09:59:46 +00:00
committed by Space
parent f7933dc9f4
commit c56f06f942
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@ declare namespace JS_TESTS {
class H /* extends foo.NonExportedGenericType<foo.NonExportedType> */ {
constructor();
}
function foo(a: number): Promise<number>;
function baz(a: number): Promise<number>;
function bar(): Error;
const console: Console;
const error: WebAssembly.CompileError;
@@ -70,7 +70,7 @@ class G : NonExportedGenericInterface<NonExportedType>
class H : NonExportedGenericType<NonExportedType>(NonExportedType(42))
@JsExport
fun foo(a: Int): kotlin.js.Promise<Int> {
fun baz(a: Int): kotlin.js.Promise<Int> {
return kotlin.js.Promise<Int> { res, rej -> res(a) }
}