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

Add infos impl #827

Merged
merged 4 commits into from
Sep 25, 2024
Merged

Add infos impl #827

merged 4 commits into from
Sep 25, 2024

Conversation

W95Psp
Copy link
Collaborator

@W95Psp W95Psp commented Aug 7, 2024

I had leftover work while working on iterators.
Those were required for iterators at the time, and are good generally.

This PR:

  • fixes the rust printer for projection predicates;
  • derive compare and sexp for every type of the AST;
  • add trait information on impl exprs

@W95Psp W95Psp force-pushed the add-infos-impl branch 3 times, most recently from 6cdd34f to 6fb46a0 Compare August 8, 2024 07:16
This commit:
 - renames `impl_expr` to `impl_expr_kind`;
 - adds a type `impl_expr` that consists of an `impl_expr_kind` and of a `trait_goal`.

This change makes the "type" of an `impl_expr` available at any
point. The "type" of an `impl_expr` is called a `trait_goal`.
It is useful for performing trait-goal-based transformations.
@W95Psp W95Psp added this pull request to the merge queue Sep 25, 2024
Merged via the queue into main with commit a3875a7 Sep 25, 2024
13 checks passed
@W95Psp W95Psp deleted the add-infos-impl branch September 25, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants