[JS IR] Fix clash between generic extension overloads
Type parameter constraints are used for calculating JS signature hash. ^KT-51151 Fixed
This commit is contained in:
committed by
Space
parent
9f5cbea0fa
commit
0982872959
@@ -7344,6 +7344,18 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/nativeDeclarationAndLocalVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtension.kt")
|
||||
public void testOverloadClassGenericExtension() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtensionInGenericScope.kt")
|
||||
public void testOverloadClassGenericExtensionInGenericScope() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtensionInGenericScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadExtension.kt")
|
||||
public void testOverloadExtension() throws Exception {
|
||||
|
||||
+12
@@ -7816,6 +7816,18 @@ public class FirJsTestGenerated extends AbstractFirJsTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/nativeDeclarationAndLocalVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtension.kt")
|
||||
public void testOverloadClassGenericExtension() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtensionInGenericScope.kt")
|
||||
public void testOverloadClassGenericExtensionInGenericScope() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtensionInGenericScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadExtension.kt")
|
||||
public void testOverloadExtension() throws Exception {
|
||||
|
||||
+12
@@ -7816,6 +7816,18 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/nameClashes/nativeDeclarationAndLocalVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtension.kt")
|
||||
public void testOverloadClassGenericExtension() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadClassGenericExtensionInGenericScope.kt")
|
||||
public void testOverloadClassGenericExtensionInGenericScope() throws Exception {
|
||||
runTest("js/js.translator/testData/box/nameClashes/overloadClassGenericExtensionInGenericScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadExtension.kt")
|
||||
public void testOverloadExtension() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user