Minor: code clean up
This commit is contained in:
@@ -498,10 +498,8 @@ public class JetExpressionParsing extends AbstractJetParsing {
|
|||||||
*/
|
*/
|
||||||
protected boolean parseCallWithClosure() {
|
protected boolean parseCallWithClosure() {
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
// while (!myBuilder.newlineBeforeCurrentToken()
|
|
||||||
// && (at(LBRACE)
|
while (at(LBRACE) || atSet(LABELS) && lookahead(1) == LBRACE) {
|
||||||
while ((at(LBRACE)
|
|
||||||
|| atSet(LABELS) && lookahead(1) == LBRACE)) {
|
|
||||||
if (!at(LBRACE)) {
|
if (!at(LBRACE)) {
|
||||||
assert _atSet(LABELS);
|
assert _atSet(LABELS);
|
||||||
parsePrefixExpression();
|
parsePrefixExpression();
|
||||||
@@ -511,6 +509,7 @@ public class JetExpressionParsing extends AbstractJetParsing {
|
|||||||
}
|
}
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user