We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
found in OSCAT
CASE DAYS_IN_MONTH OF 32..60 : DAYS_IN_MONTH := 29; 92..121 : DAYS_IN_MONTH := 30; 153..182: DAYS_IN_MONTH := 30; 245..274: DAYS_IN_MONTH := 30; 306..335: DAYS_IN_MONTH := 30; ELSE DAYS_IN_MONTH := 31; END_CASE;
these should be valid cases but currently we will get the following error
error: Cannot resolve constant: RangeStatement { start: LiteralInteger { value: 32, }, end: LiteralInteger { value: 60, }, }. Non constant variables are not supported in case conditions
for RangeStatements we need to visit the start and end statement and check if constant
The text was updated successfully, but these errors were encountered:
ghaith
Successfully merging a pull request may close this issue.
found in OSCAT
these should be valid cases but currently we will get the following error
for RangeStatements we need to visit the start and end statement and check if constant
The text was updated successfully, but these errors were encountered: