diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java index 2fa1f110fb0..06e3124146f 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java @@ -5687,12 +5687,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest { doTest(fileName); } - @TestMetadata("nestedNative.kt") - public void testNestedNative() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nestedTypes/nestedNative.kt"); - doTest(fileName); - } - @TestMetadata("nestedObjectLazyInitialized.kt") public void testNestedObjectLazyInitialized() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nestedTypes/nestedObjectLazyInitialized.kt"); diff --git a/js/js.translator/testData/box/nestedTypes/nestedNative.js b/js/js.translator/testData/box/nestedTypes/nestedNative.js deleted file mode 100644 index 8220cb5025d..00000000000 --- a/js/js.translator/testData/box/nestedTypes/nestedNative.js +++ /dev/null @@ -1,7 +0,0 @@ -function B(value) { - this.foo = 100 + value; -} -B.prototype = {}; -B.prototype.bar = function() { - return this.foo + 1000; -}; \ No newline at end of file diff --git a/js/js.translator/testData/box/nestedTypes/nestedNative.kt b/js/js.translator/testData/box/nestedTypes/nestedNative.kt deleted file mode 100644 index 26093d66c5e..00000000000 --- a/js/js.translator/testData/box/nestedTypes/nestedNative.kt +++ /dev/null @@ -1,16 +0,0 @@ -package foo - -open class A { - @native class B(value: Int = 0) { - val foo: Int - get() = noImpl - fun bar(): Int = noImpl - } -} - -fun box(): String { - var b = A.B(23) - if (b.foo != 123) return "failed1: ${b.foo}" - if (b.bar() != 1123) return "failed2: ${b.bar()}" - return "OK" -}