[K/JS] Make interface subtyping faster and lighter.
This commit is contained in:
@@ -3811,6 +3811,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/typeCheck"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexIsInterface.kt")
|
||||
public void testComplexIsInterface() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/typeCheck/complexIsInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleAsClass.kt")
|
||||
public void testSimpleAsClass() throws Exception {
|
||||
|
||||
+6
@@ -4265,6 +4265,12 @@ public class FirJsTestGenerated extends AbstractFirJsTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/typeCheck"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexIsInterface.kt")
|
||||
public void testComplexIsInterface() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/typeCheck/complexIsInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleAsClass.kt")
|
||||
public void testSimpleAsClass() throws Exception {
|
||||
|
||||
+6
@@ -4265,6 +4265,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/typeCheck"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexIsInterface.kt")
|
||||
public void testComplexIsInterface() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/typeCheck/complexIsInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleAsClass.kt")
|
||||
public void testSimpleAsClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user