expect(RPAR, "')' expected");
cons.done(PRIMARY_CONSTRUCTOR_PARAMETERS_LIST);
}
private void parsePrimaryConstructorParameter() {
PsiBuilder.Marker param = mark();
<BUG>parseModifierList();
if (at(VAR_KEYWORD) || at(VAL_KEYWORD)) {</BUG>
advance(); // VAR_KEYWORD | VAL_KEYWORD
}
parseFunctionParameterRest();

expect(RPAR, "')' expected");
cons.done(PRIMARY_CONSTRUCTOR_PARAMETERS_LIST);
}
private void parsePrimaryConstructorParameter() {
PsiBuilder.Marker param = mark();
int lastId = findLastBefore(TokenSet.create(IDENTIFIER), TokenSet.create(COMMA, RPAR, COLON), false);
createTruncatedBuilder(lastId).parseModifierList();
if (at(VAR_KEYWORD) || at(VAL_KEYWORD)) {
advance(); // VAR_KEYWORD | VAL_KEYWORD
}
parseFunctionParameterRest();
