Add compatibility warning for reference adaptation

This commit is contained in:
Mikhail Zarechenskiy
2020-05-31 23:50:19 +03:00
parent 684dfb959c
commit 47e6805186
10 changed files with 240 additions and 3 deletions
@@ -1941,6 +1941,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/callableReference/propertyOfNestedGenericClass.kt");
}
@TestMetadata("referenceAdaptationCompatibility.kt")
public void testReferenceAdaptationCompatibility() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/referenceAdaptationCompatibility.kt");
}
@TestMetadata("rewriteAtSliceOnGetOperator.kt")
public void testRewriteAtSliceOnGetOperator() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/rewriteAtSliceOnGetOperator.kt");