JS: prove that KT-15292 is no more reproducible

This commit is contained in:
Alexey Andreev
2017-09-27 14:05:23 +03:00
parent bf87826dd1
commit 992cc61abc
2 changed files with 17 additions and 0 deletions
@@ -90,6 +90,12 @@ public class JsLineNumberTestGenerated extends AbstractJsLineNumberTest {
doTest(fileName);
}
@TestMetadata("coroutineNullAssertion.kt")
public void testCoroutineNullAssertion() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/coroutineNullAssertion.kt");
doTest(fileName);
}
@TestMetadata("dataClass.kt")
public void testDataClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/dataClass.kt");
@@ -0,0 +1,11 @@
suspend fun foo() {
delay()
null!!
delay()
println("OK")
}
suspend fun delay() {
}
// LINES: 6 1 1 1 1 6 1 1 * 6 2 2 2 2 2 * 3 3 4 4 4 4 4 5 5 * 9