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

fix: nullish coalescing operator precedence #240

Merged

Conversation

ashsearle
Copy link
Contributor

Fix one error copying operator precedence values from MDN's table

The mistake gave in and ?? the same precedence. Add a test that should have failed (and with this PR it now does.)

@Boshen
Copy link
Member

Boshen commented Apr 1, 2023

Neat! Did you find this from a real codebase?

@Boshen Boshen merged commit ab2ef4f into oxc-project:main Apr 1, 2023
@Boshen Boshen added first-pr A contributor's first PR A-linter Area - Linter labels Apr 1, 2023
@Boshen Boshen added this to the 0.0.3 milestone Apr 1, 2023
@Boshen
Copy link
Member

Boshen commented Apr 1, 2023

Thank you for your first PR and trying out oxc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter first-pr A contributor's first PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants