test: change function id in implicit cast test to prevent name clash.
This commit is contained in:
+1
-1
@@ -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) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user