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

Reuse TranslatedCrate in json export #313

Merged
merged 8 commits into from
Aug 14, 2024

Conversation

Nadrieril
Copy link
Member

This reduces duplication, allows consumers to make use of convenient TranslatedCrate APIs, and makes the version detection more robust.

@Nadrieril Nadrieril merged commit 8de6020 into AeneasVerif:main Aug 14, 2024
6 checks passed
@Nadrieril Nadrieril deleted the export-translatedcrate branch August 14, 2024 15:52
mk_index_impls!(TranslatedCrate.global_decls[GlobalDeclId]: GlobalDecl);
mk_index_impls!(TranslatedCrate.bodies[BodyId]: Body);
mk_index_impls!(TranslatedCrate.trait_decls[TraitDeclId]: TraitDecl);
mk_index_impls!(TranslatedCrate.trait_impls[TraitImplId]: TraitImpl);
Copy link
Member

Choose a reason for hiding this comment

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

This is fun :)

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