Open ROMemories opened 1 week ago
Thanks for your bug report!
I need to investigate a bit, but this is definitely Id
being imported incorrectly by the engine. In import_thir.ml
, every identity is tagged with a kind, based on the context. Here, I suspect Id
is seen as a function, whence it gets compiled to v_Id
instead of Id
.
It might be that we don't have enough context at THIR import: in this case, we might need to add more information and context in the frontend.
It seems that tuple struct constructors are not usable in every context.
For instance, the following does not lax check:
view in hax playground
However, the following does: