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

warn on mixing ?? with > or == #1233

Open
strager opened this issue Jan 7, 2025 · 1 comment
Open

warn on mixing ?? with > or == #1233

strager opened this issue Jan 7, 2025 · 1 comment
Labels
good first issue Good for newcomers and C++ beginners

Comments

@strager
Copy link
Collaborator

strager commented Jan 7, 2025

config?.items?.length ?? 0 > 0
// intended: (config?.items?.length ?? 0) > 0
// actual: config?.items?.length ?? (0 > 0)

https://x.com/strager/status/1876508636236964158

@strager strager added the good first issue Good for newcomers and C++ beginners label Jan 7, 2025
VIJESHG added a commit to VIJESHG/quick-lint-js that referenced this issue Feb 23, 2025
@VIJESHG
Copy link

VIJESHG commented Feb 23, 2025

Hello @strager I have created PR for this issue: #1234 Please review and add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers and C++ beginners
Projects
None yet
Development

No branches or pull requests

2 participants