Fix generation of JS source maps for synthetic code in constructors

This commit is contained in:
Alexey Andreev
2017-05-03 14:22:18 +03:00
parent 4332f1cb2c
commit fb3a864892
8 changed files with 70 additions and 20 deletions
@@ -65,4 +65,10 @@ public class JsLineNumberTestGenerated extends AbstractJsLineNumberTest {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/simple.kt");
doTest(fileName);
}
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");
doTest(fileName);
}
}