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

Update charon #83

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Update charon #83

wants to merge 5 commits into from

Conversation

Nadrieril
Copy link
Member

@Nadrieril Nadrieril commented Nov 13, 2024

Companion PR to AeneasVerif/charon#457 which changes how we represent places in charon. In particular, charon now stores the type of each place. I use this to simplify expression_of_place.

@msprotz
Copy link
Contributor

msprotz commented Nov 13, 2024

I'll review this on Friday after the paper submission deadlines -- this looks like a delicate PR, thanks!

Copy link
Contributor

@msprotz msprotz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. This new representation is much better and lends itself to recursion, which is hella more intuitive. Thanks for the patch, much appreciated! Have a great weekend.

let ts =
match sub_e.typ with
| TTuple ts -> ts
| _ -> assert false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the issue with tuples of length 1 has been fixed upstream?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah I see, the early-return case is still up there

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

Successfully merging this pull request may close these issues.

2 participants