Callable reference adaptation should have dependency on API version 1.4

#KT-38069 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-06-26 06:54:21 +03:00
parent bc40669598
commit c5a2ab2512
7 changed files with 69 additions and 0 deletions
@@ -1956,6 +1956,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/callableReference/referenceAdaptationCompatibility.kt");
}
@TestMetadata("referenceAdaptationHasDependencyOnApi14.kt")
public void testReferenceAdaptationHasDependencyOnApi14() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/referenceAdaptationHasDependencyOnApi14.kt");
}
@TestMetadata("referenceToCompanionObjectMemberViaClassName.kt")
public void testReferenceToCompanionObjectMemberViaClassName() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/referenceToCompanionObjectMemberViaClassName.kt");