JS: Inlined local declarations should be positioned after imports

This commit is contained in:
Anton Bannykh
2019-02-12 21:31:11 +03:00
parent 0bfd332580
commit 4e298ae5cb
4 changed files with 78 additions and 29 deletions
@@ -4005,6 +4005,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/inline/inlineSimpleAssignment.kt");
}
@TestMetadata("inlinedObjectLiteralIsCheck.kt")
public void testInlinedObjectLiteralIsCheck() throws Exception {
runTest("js/js.translator/testData/box/inline/inlinedObjectLiteralIsCheck.kt");
}
@TestMetadata("innerOuterThis.kt")
public void testInnerOuterThis() throws Exception {
runTest("js/js.translator/testData/box/inline/innerOuterThis.kt");
@@ -4005,6 +4005,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/inline/inlineSimpleAssignment.kt");
}
@TestMetadata("inlinedObjectLiteralIsCheck.kt")
public void testInlinedObjectLiteralIsCheck() throws Exception {
runTest("js/js.translator/testData/box/inline/inlinedObjectLiteralIsCheck.kt");
}
@TestMetadata("innerOuterThis.kt")
public void testInnerOuterThis() throws Exception {
runTest("js/js.translator/testData/box/inline/innerOuterThis.kt");