[K/JS] Regenerate tests after merging two different changes into TS generator
This commit is contained in:
+3
-1
@@ -67,15 +67,17 @@ interface InterfaceWithCompanion {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// KT-64708
|
// KT-64708
|
||||||
|
|
||||||
external interface ExportedParentInterface
|
external interface ExportedParentInterface
|
||||||
|
|
||||||
|
|
||||||
interface ExportedChildInterface : ExportedParentInterface {
|
interface ExportedChildInterface : ExportedParentInterface {
|
||||||
fun bar()
|
fun bar()
|
||||||
}
|
}
|
||||||
|
|
||||||
// KT-63907
|
// KT-63907
|
||||||
|
|
||||||
interface InterfaceWithDefaultArguments {
|
interface InterfaceWithDefaultArguments {
|
||||||
fun foo(x: Int = 0) = x
|
fun foo(x: Int = 0) = x
|
||||||
fun bar(x: Int = 0) = x
|
fun bar(x: Int = 0) = x
|
||||||
|
|||||||
-3
@@ -7,8 +7,6 @@ import createNested1 = JS_TESTS.foo.createNested1;
|
|||||||
import createNested2 = JS_TESTS.foo.createNested2;
|
import createNested2 = JS_TESTS.foo.createNested2;
|
||||||
import createNested3 = JS_TESTS.foo.createNested3;
|
import createNested3 = JS_TESTS.foo.createNested3;
|
||||||
import WithSimpleObjectInside = JS_TESTS.foo.WithSimpleObjectInside;
|
import WithSimpleObjectInside = JS_TESTS.foo.WithSimpleObjectInside;
|
||||||
import BaseWithCompanion = JS_TESTS.foo.BaseWithCompanion;
|
|
||||||
import ChildWithCompanion = JS_TESTS.foo.ChildWithCompanion;
|
|
||||||
|
|
||||||
function assert(condition: boolean) {
|
function assert(condition: boolean) {
|
||||||
if (!condition) {
|
if (!condition) {
|
||||||
@@ -36,6 +34,5 @@ function box(): string {
|
|||||||
|
|
||||||
assert(WithSimpleObjectInside.value === "WithSimpleObjectInside");
|
assert(WithSimpleObjectInside.value === "WithSimpleObjectInside");
|
||||||
assert(WithSimpleObjectInside.SimpleObject.value === "SimpleObject");
|
assert(WithSimpleObjectInside.SimpleObject.value === "SimpleObject");
|
||||||
|
|
||||||
return "OK";
|
return "OK";
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user