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

Unary Operators Redundancy #7578

Closed
GuptaManan100 opened this issue Mar 2, 2021 · 0 comments · Fixed by #7579
Closed

Unary Operators Redundancy #7578

GuptaManan100 opened this issue Mar 2, 2021 · 0 comments · Fixed by #7579

Comments

@GuptaManan100
Copy link
Member

Overview of the Issue

The parser does not remove unary operators which are redundant. For example :- Parsing SET S= +++-++-+(4+1) results in set S = + + + - + + - +(4 + 1) whereas parsing SET S= +++-++-+4 produces set S = 4.

Reproduction Steps

The issue can be reproduced by adding a test case to the parser tests.

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

Successfully merging a pull request may close this issue.

2 participants