Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checksrc: Added checks for colon operator in ternary expressions #14990

Closed
wants to merge 6 commits into from

Conversation

gblmrn
Copy link
Contributor

@gblmrn gblmrn commented Sep 20, 2024

This is an attempt to provide a check for colon operators in ternary expressions.
Sadly, the current version does work only for ternary expressions that are written in one line.

@bagder
Copy link
Member

bagder commented Sep 22, 2024

This PR needs to update test 1185 (which tests checksrc), and it now has a merge conflict (since a4703da I believe)

@github-actions github-actions bot added the tests label Sep 22, 2024
@gblmrn
Copy link
Contributor Author

gblmrn commented Sep 22, 2024

Thank you for the information. I've updated test1185 and the files that didn't pass in #15009.

@bagder bagder closed this in cff75ac Sep 25, 2024
bagder pushed a commit that referenced this pull request Sep 25, 2024
bagder pushed a commit that referenced this pull request Sep 25, 2024
@bagder
Copy link
Member

bagder commented Sep 25, 2024

Thanks!

@gblmrn
Copy link
Contributor Author

gblmrn commented Sep 25, 2024

No problem, glad to help.

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

Successfully merging this pull request may close these issues.

3 participants