Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

assume annotation on events #395

Closed
shazqadeer opened this issue Nov 22, 2018 · 1 comment
Closed

assume annotation on events #395

shazqadeer opened this issue Nov 22, 2018 · 1 comment

Comments

@shazqadeer
Copy link

Consider the following declaration in a P program:

event E3 assume 1;

The meaning is that in production assume acts as an assert but in testing it acts as an assume. One of the P regressions is currently failing. Upon debugging, it seems like PSharpTester is treating the assume annotation as an assert. But I can't be sure since I am not able to step into the PSharp code. Could you please check and clarify what is the PSharp behavior?

@akashlal
Copy link
Contributor

You're right. This is a bug. Filed one to keep track: #396

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants