report UNRESOLVED_REFERENCE_WRONG_RECEIVER
mentioning candidates with wrong receiver
This commit is contained in:
@@ -2297,6 +2297,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/extensions/throwOutCandidatesByReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("throwOutCandidatesByReceiver2.kt")
|
||||
public void testThrowOutCandidatesByReceiver2() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/extensions/throwOutCandidatesByReceiver2.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/functionLiterals")
|
||||
|
||||
@@ -238,6 +238,11 @@ public class JetResolveTestGenerated extends AbstractResolveTest {
|
||||
doTest("compiler/testData/resolve/candidatesPriority/receiverVsThisObject2.resolve");
|
||||
}
|
||||
|
||||
@TestMetadata("wrongReceiverVsOtherError.resolve")
|
||||
public void testWrongReceiverVsOtherError() throws Exception {
|
||||
doTest("compiler/testData/resolve/candidatesPriority/wrongReceiverVsOtherError.resolve");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/resolve/delegatedProperty")
|
||||
|
||||
Reference in New Issue
Block a user