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

LibraryFnCall is being recognized as LibraryFnType in Arg of QuantifiedExpr #29

Open
iamundson opened this issue Nov 12, 2022 · 0 comments
Assignees

Comments

@iamundson
Copy link
Contributor

The statement
exists (guarantee : AgreeLib.AgreeGuarantees(c)) . name(guarantee) = spec_name
causes a validation error because it parses AgreeLib.AgreeGuarantees(c) as a LibraryFnType rather than a LibraryFnCall. This means that the QuantifiedExpr arg is parsed as an Arg rather than a QuantArg and causes the validator to complain that only AADL types are supported. In reality AgreeGuarantees() returns a SetExpr, which should be supported.

@iamundson iamundson self-assigned this Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant