[JS] Fix and mute failed tests on TC

This commit is contained in:
Svyatoslav Kuzmich
2021-10-13 01:26:13 +03:00
parent 357f3184bf
commit 90dd0c6150
4 changed files with 19 additions and 23 deletions
@@ -3,6 +3,9 @@
// INFER_MAIN_MODULE
// ES_MODULES
// TODO: Fix tests on Windows
// DONT_TARGET_EXACT_BACKEND: JS_IR
// MODULE: overriden-external-method-with-same-stable-name-method
// FILE: lib.kt
external abstract class Foo {
@@ -13,6 +13,20 @@ declare namespace JS_TESTS {
}
}
namespace foo {
abstract class AC implements foo.I2 {
constructor();
x: string;
abstract readonly y: boolean;
abstract z(z: number): void;
readonly acProp: string;
abstract readonly acAbstractProp: string;
}
class OC extends foo.AC implements foo.I<string, boolean, number> {
constructor(y: boolean, acAbstractProp: string);
readonly y: boolean;
readonly acAbstractProp: string;
z(z: number): void;
}
class FC extends foo.OC {
constructor();
}
@@ -22,22 +36,4 @@ declare namespace JS_TESTS {
foo(): number;
} & foo.OC;
}
namespace foo {
abstract class AC implements foo.I2 {
constructor();
x: string;
abstract readonly y: boolean;
abstract z(z: number): void;
readonly acProp: string;
abstract readonly acAbstractProp: string;
}
}
namespace foo {
class OC extends foo.AC implements foo.I<string, boolean, number> {
constructor(y: boolean, acAbstractProp: string);
readonly y: boolean;
readonly acAbstractProp: string;
z(z: number): void;
}
}
}