Closed nwf closed 3 days ago
Should be fixed by https://github.com/rems-project/sail/pull/782
Usually equality between booleans would be special-cased already, but I think here it's because we are comparing booleans within another data-structure. That error message just means that a primtive hasn't been implemented (for some combination of types) in the SMT generation, it's usually enough information by itself to fix the issue so if you get it again you can probably avoid minimizing the test case (although I appreciate the effort, it's usually very helpful for me!)
This example, lightly minimized from https://github.com/CHERIoT-Platform/cheriot-sail/blob/main/properties/props.sail,
dies with
To reproduce, have a checkout of CHERIoT-sail (and its submodule) handy, place the example above in
properties/test.sail
and run, inproperties
,sail -dtc_verbose 1 -smt ./test.sail
). In case it's useful to have without running anything, the typechecker sayeth the following: