FIR: Preserve non-custom attributes after substitution

The test is being fixed since synthetic call for elvis has @Exact-attribute on return type
This commit is contained in:
Denis.Zharkov
2021-11-15 16:11:12 +03:00
committed by teamcityserver
parent e26abbbbb0
commit 883b18a0c6
27 changed files with 239 additions and 185 deletions
@@ -14112,6 +14112,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/dontCaptureTypeVariable.kt");
}
@Test
@TestMetadata("exactOnElvis.kt")
public void testExactOnElvis() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/commonSystem/exactOnElvis.kt");
}
@Test
@TestMetadata("fixVariablesInRightOrder.kt")
public void testFixVariablesInRightOrder() throws Exception {