Generic Printer: ~constructor
argument to expr'_Construct_inductive
is wrong for structs
#1295
Labels
engine
Issue in the engine
When processing these assignments
hax/examples/validation-example/src/lib.rs
Lines 120 to 121 in 7ba7c7e
this function in the generic printer implementation
hax/engine/backends/smtlib/smtlib_backend.ml
Lines 257 to 265 in 7ba7c7e
(please ignore the pointless if-then-else 🙈 )
produces this code
Specifically, look at the type coercion that the ocaml code above builds:
This should be
I think this is because the constructor and type name are not properly separated in some parts of the engine.
The text was updated successfully, but these errors were encountered: