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

fix(engine) Opaque consts #1189

Merged
merged 2 commits into from
Dec 17, 2024
Merged

fix(engine) Opaque consts #1189

merged 2 commits into from
Dec 17, 2024

Conversation

maximebuyse
Copy link
Contributor

Fixes #1131. Fixes #1152.
This is a followup of #1134. It fixes 2 problems:

  • consts inside (non-trait) impls are not erased by type-only flag (so that the behaviour is the same as for top-level consts)
  • For erased consts (when an opaque flag is added by the user) we now produce a val in the fsti (it was missing before).

@maximebuyse maximebuyse requested a review from W95Psp December 16, 2024 15:53
Copy link
Collaborator

@W95Psp W95Psp left a comment

Choose a reason for hiding this comment

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

@W95Psp
Copy link
Collaborator

W95Psp commented Dec 17, 2024

It's green, I'm pressing the button!

@W95Psp W95Psp added this pull request to the merge queue Dec 17, 2024
Merged via the queue into main with commit daaeb8e Dec 17, 2024
15 checks passed
@W95Psp W95Psp deleted the opaque-consts branch December 17, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants