WI #2520 Check USAGE compatibility between EVALUATE and WHEN#2835
Merged
efr15 merged 8 commits into2520-parser-does-not-check-conditions_2from Mar 4, 2026
Merged
Conversation
fm-117
requested changes
Feb 26, 2026
fm-117
approved these changes
Feb 27, 2026
added 2 commits
February 27, 2026 09:45
fm-117
approved these changes
Feb 27, 2026
fm-117
approved these changes
Feb 27, 2026
Finou1404
approved these changes
Mar 4, 2026
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.
Fixes #2520
There is an issue with USAGE OBJECT REFERENCE. The diagnostic below is wrong:
Line 23[11,30] <27, Error, Syntax> - Syntax error : A group item cannot be empty. Add children, picture or valid usage (INDEX, COMP-1, COMP-2, POINTER, POINTER-32, PROCEDURE-POINTER or FUNCTION-POINTER). OffendingSymbol=[11,30:VAR-OBJECT-REFERENCE]OBJECT REFERENCE should be part of the "stand alone" usages (see new issue created #2836)