Repository navigation
Repeated NOT in conditions, with abaplint 2.120.117-abap2go.3 - #23
Merged
Merged
Conversation
The vendored abaplint now parses any number of NOT in front of a comparison or a parenthesis (#4714, PR abaplint#4716). The compiler counts them, an even number cancels out, and the 8 NOT NOT cells of comparison_expr.tsv run end to end: 338 of the 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTcan be repeated in front of a logical expression (ABAP keyword documentation, log_exp - Boolean Operator NOT). abaplint did not parse it (abaplint#4714). The fix is offered upstream in abaplint#4716 and is on the fork'sabap2gobranch, vendored here as2.120.117-abap2go.3.src/lower_cond.ts: counts theNOTin front of a comparison or a parenthesis; an even number cancels outtest/comparison_expr.test.ts: theNOT NOTexclusion is gone, its 8 cells run end to end (338 of the 404)test/control_flow.test.ts: two and threeNOT, withORand before parenthesesdocs/roadmap.md: #4714 moves to "in flight"🤖 Generated with Claude Code