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: update parser to fix precedence of ** and ?? #1440

Merged

Conversation

czosel
Copy link
Collaborator

@czosel czosel commented May 24, 2020

Upstream PR: glayzzle/php-parser#549

Fixes #1421

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Can we add tests with parens?

@czosel czosel force-pushed the update-parser-precedence-right-associative branch from 75d2275 to 6981e09 Compare May 25, 2020 09:57
@czosel
Copy link
Collaborator Author

czosel commented May 25, 2020

Of course - done 🙃

Copy link
Collaborator

@loilo loilo left a comment

Choose a reason for hiding this comment

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

Meinen Segen hast du. 😁

But seriously, as I said I'm currently pretty restricted in spare time because of childcare, so if @evilebottnawi has reviewed something I usually don't bother to give it a third pair of eyes when there are just small changes. Would you like me to just ignore those review requests or approve them with an "I was here" note? 😉

@czosel
Copy link
Collaborator Author

czosel commented May 25, 2020

@loilo Danke 😉

It's totally fine if you just ignore the reviews - until now I usually assigned both of you, but never waited with merging until i had both approvals. If you prefer i can also try to only ask you for reviews of PRs related to things you contributed (e.g. rollup-related stuff)?

@czosel czosel merged commit e0d640f into prettier:master May 25, 2020
@czosel czosel deleted the update-parser-precedence-right-associative branch May 25, 2020 10:13
@loilo
Copy link
Collaborator

loilo commented May 25, 2020

I don't mind the review request itself. When I have time to spare, I usually take a look. I'd say, if you've already got approval from @evilebottnawi, don't bother just merging the PR. 🙂

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.

Formatting twice changes result of mathematical expression
3 participants