KT-4392 #Fixed

This commit is contained in:
Alexey Sedunov
2014-01-09 15:00:41 +04:00
parent e693820fb4
commit 446941257b
5 changed files with 93 additions and 1 deletions
@@ -1712,7 +1712,10 @@ public class JetParsing extends AbstractJetParsing {
if (at(COMMA)) {
advance(); // COMMA
}
else if (!atSet(VALUE_PARAMETER_FIRST)) break;
else {
if (!at(RPAR)) error("Expecting comma or ')'");
if (!atSet(VALUE_PARAMETER_FIRST)) break;
}
}
}