-
Notifications
You must be signed in to change notification settings - Fork 152
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
Provide better documentation for concrete and symbolic attributes #3324
Conversation
@virgil-serbanuta I'm tagging you for review since you are the one that encountered the issue. |
Thanks @radumereuta , I should have taken a better look at Virgil's example and at the actual code! I can confirm it's as you understood, so this is ready for re-review. Also @virgil-serbanuta please review to make sure I didn't get it wrong again :). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if you put both concrete and symbolic on the same rule?
I would expect it to be an error.
What if you give them arguments and only half of the variables are concrete and the other half are symbolic. Then I would expect that to work.
Does that make sense? Does the backend support such a behavior?
@radumereuta Hmm, good questions. If you add
The following, however, isn't caught by the frontend and I think it should be:
The following works fine, as it should:
|
The rules for
|
I've added a better error message for when a variable is used on both |
Thank you! Sorry for the late reply, I was on vacation, but this looks good! |
Fixes runtimeverification/haskell-backend#3564