mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[263773] Incorporated more review comments
This commit is contained in:
parent
fd0cf968e7
commit
daada4dd08
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public class XtextValidator extends AbstractDeclarativeValidator {
|
|||
error(String.format("Expected %d arguments but got %d", parameters.size(), usedParameters.size()),
|
||||
call, XtextPackage.Literals.RULE_CALL__RULE);
|
||||
} else if (hasNamedArgument) {
|
||||
for(int i = 0, max = Math.min(usedParameters.size(), parameters.size()); i < max; i++) {
|
||||
for(int i = 0, max = usedParameters.size(); i < max; i++) {
|
||||
NamedArgument argument = call.getArguments().get(i);
|
||||
Parameter param = parameters.get(i);
|
||||
if (argument.isCalledByName() && argument.getParameter() != param) {
|
||||
|
|
Loading…
Reference in a new issue