Check 'isDirty' for resolved calls replaced with check 'hasUnresolvedArguments' for call

Don't report 'cannotCompleteResolve' error if some arguments are unresolved (like 'ambiguity')
This commit is contained in:
Svetlana Isakova
2014-05-20 16:59:52 +04:00
parent a3e306b820
commit b2c2e1811c
6 changed files with 68 additions and 65 deletions
@@ -3791,6 +3791,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/incompleteCode/typeParameterOnLhsOfDot.kt");
}
@TestMetadata("unresolvedArguments.kt")
public void testUnresolvedArguments() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/unresolvedArguments.kt");
}
@TestMetadata("variableDeclarationInSelector.kt")
public void testVariableDeclarationInSelector() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/variableDeclarationInSelector.kt");