JS: fix issues with js() usage in inline functions
This commit is contained in:
@@ -198,6 +198,18 @@ public class InlineJsTestGenerated extends AbstractInlineJsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/inline/cases/jsCode.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("jsCodeVarDeclared.kt")
|
||||
public void testJsCodeVarDeclared() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/inline/cases/jsCodeVarDeclared.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaInLambda.kt")
|
||||
public void testLambdaInLambda() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/inline/cases/lambdaInLambda.kt");
|
||||
|
||||
@@ -102,6 +102,12 @@ public class JsCodeTestGenerated extends AbstractJsCodeTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("labelNestedClashWithKotlin.kt")
|
||||
public void testLabelNestedClashWithKotlin() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/jsCode/cases/labelNestedClashWithKotlin.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("labelSiblingClash.kt")
|
||||
public void testLabelSiblingClash() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/jsCode/cases/labelSiblingClash.kt");
|
||||
|
||||
Reference in New Issue
Block a user