report UNRESOLVED_REFERENCE_WRONG_RECEIVER

mentioning candidates with wrong receiver
This commit is contained in:
Svetlana Isakova
2013-06-17 19:05:54 +04:00
parent 3340b94bd8
commit 041505f5b8
19 changed files with 142 additions and 49 deletions
@@ -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")