Report resolution ambiguity on '+=' by taking into account full resolution result including post type checking for '+'
^KT-45503 Fixed
This commit is contained in:
+24
@@ -19429,6 +19429,24 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt45503_1.kt")
|
||||
public void testKt45503_1() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt45503_2.kt")
|
||||
public void testKt45503_2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt45503_3.kt")
|
||||
public void testKt45503_3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignOnArray.kt")
|
||||
public void testPlusAssignOnArray() throws Exception {
|
||||
@@ -19446,6 +19464,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
public void testPlusAssignOnProperty() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/plusAssignOnProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignOnVarAndCollections.kt")
|
||||
public void testPlusAssignOnVarAndCollections() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/plusAssignOnVarAndCollections.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user