Skip to content

QL Language Spec: Trailing comma in set literal#6505

Merged
edoardopirovano merged 1 commit intogithub:mainfrom
edoardopirovano:trailing-comma
Sep 28, 2021
Merged

QL Language Spec: Trailing comma in set literal#6505
edoardopirovano merged 1 commit intogithub:mainfrom
edoardopirovano:trailing-comma

Conversation

@edoardopirovano
Copy link
Copy Markdown
Contributor

See github/codeql-cli-binaries#76

Updates the QL language spec to allow for a trailing comma in set literals.

@edoardopirovano edoardopirovano added the no-change-note-required This PR does not need a change note label Aug 18, 2021
@intrigus-lgtm
Copy link
Copy Markdown
Contributor

OOI: Why would one want to allow trailing commas in set literals?

@edoardopirovano
Copy link
Copy Markdown
Contributor Author

OOI: Why would one want to allow trailing commas in set literals?

The linked issue contains some justification - in summary, cleaner diffs and the ability to reorder lines more easily are the main benefits.

@intrigus-lgtm
Copy link
Copy Markdown
Contributor

🤦‍♂️ I routinely assumed that the linked issue would be private...

@edoardopirovano edoardopirovano merged commit 5488872 into github:main Sep 28, 2021
@edoardopirovano edoardopirovano deleted the trailing-comma branch September 28, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants