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

Wrong bind effect inference in ghost functions #94

Open
tahina-pro opened this issue Sep 25, 2023 · 0 comments
Open

Wrong bind effect inference in ghost functions #94

tahina-pro opened this issue Sep 25, 2023 · 0 comments
Labels
pulse Issues related to the Pulse separation logic DSL

Comments

@tahina-pro
Copy link
Member

The following Pulse code:

ghost
fn test (_: int)
requires emp
ensures emp
{
  ();
  ()
}

fails with:

Expected effect Ghost emp_inames but this function body has effect ST
@tahina-pro tahina-pro added the pulse Issues related to the Pulse separation logic DSL label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pulse Issues related to the Pulse separation logic DSL
Projects
None yet
Development

No branches or pull requests

1 participant