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 unary expressions #24877

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix unary expressions #24877

wants to merge 1 commit into from

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Feb 2, 2025

Unary expressions should apply to primaryExpressions, not to expressions themselves which allows for weird syntax like -+-----+ expression.

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@wendigo wendigo requested a review from martint February 2, 2025 18:12
@cla-bot cla-bot bot added the cla-signed label Feb 2, 2025
@wendigo wendigo force-pushed the serafin/fix-unary-grammar branch from 03ecd36 to f17ebe0 Compare February 2, 2025 18:16
Unary expressions should apply to primaryExpressions, not to expressions themselves
which allows for weird syntax like -+-----+ expression.
@wendigo wendigo force-pushed the serafin/fix-unary-grammar branch from f17ebe0 to 78247df Compare February 2, 2025 18:27
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.

1 participant