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

missing "ghost" keywords when printing expressions in methods #8

Closed
danmatichuk opened this issue Jul 12, 2016 · 0 comments
Closed
Assignees

Comments

@danmatichuk
Copy link
Collaborator

danmatichuk commented Jul 12, 2016

In this example:
`method M() {
ghost var h := var ta := F(); 5;
var j := ghost var tb := F(); 5;
assert h == j;
}

function F(): int { 5 }
`
The printer omits both "ghost" keywords, which throws an error when re-parsing.
Added relevant test in 021226d

danmatichuk added a commit that referenced this issue Jul 13, 2016
camrein added a commit that referenced this issue Apr 8, 2021
Fix the name resolution after namespace change.
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