Skip to content

Trailing comma for function use and parameter lists#971

Open
mkornaukhov wants to merge 4 commits intomasterfrom
mkornaukhov03-trailing-comma
Open

Trailing comma for function use and parameter lists#971
mkornaukhov wants to merge 4 commits intomasterfrom
mkornaukhov03-trailing-comma

Conversation

@mkornaukhov
Copy link
Contributor

See #664
Just change compare branch

VertexAdaptor<op_var> GenTree::get_function_use_var_name_ref() {
if (cur->type() == tok_clpar) { // for trailing comma
return {};
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems strange, because get_func_param() and other list-item parsing function don't handle ')' separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants