-
Notifications
You must be signed in to change notification settings - Fork 22
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
#[primitive] HB.mixin
breaks the types of constants lifting mixin projections
#386
Comments
Iirc there is a piece of code cleaning up the type. I guess it is broken if the primitive term constructors shows up |
@gares Can you point out the part of the code declaring these constants and synthesizing their types? I have a rough idea of how to fix the issue. |
|
hierarchy-builder/HB/structure.elpi Lines 201 to 237 in 7d4f095
|
Thanks. I believe that constructing the types of these constants from the declaration of the record type is much easier than doing so from the types of the projections. While the latter requires some replacements using |
I will take a closer look when I have some time. |
We should probably merge #423 that fixes it? |
Example:
The type of
addrA
should beassociative add
.The text was updated successfully, but these errors were encountered: