[FIR JS] Add more tests for JS_NAME_CLASH diagnostic
^KT-61862 Related
This commit is contained in:
committed by
Space Team
parent
98fdaeb9a7
commit
f07028959d
+6
@@ -8352,6 +8352,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadMethodsWithSameParameterTypeName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("promiseThen.kt")
|
||||
public void testPromiseThen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/promiseThen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAndNativeMethod.kt")
|
||||
public void testPropertyAndNativeMethod() throws Exception {
|
||||
|
||||
+6
@@ -8458,6 +8458,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadMethodsWithSameParameterTypeName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("promiseThen.kt")
|
||||
public void testPromiseThen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/promiseThen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAndNativeMethod.kt")
|
||||
public void testPropertyAndNativeMethod() throws Exception {
|
||||
|
||||
+6
@@ -8458,6 +8458,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadMethodsWithSameParameterTypeName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("promiseThen.kt")
|
||||
public void testPromiseThen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/promiseThen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAndNativeMethod.kt")
|
||||
public void testPropertyAndNativeMethod() throws Exception {
|
||||
|
||||
+6
@@ -8352,6 +8352,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadMethodsWithSameParameterTypeName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("promiseThen.kt")
|
||||
public void testPromiseThen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/promiseThen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAndNativeMethod.kt")
|
||||
public void testPropertyAndNativeMethod() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user