Closed Timmmm closed 1 year ago
I am using Sail from commit 27a183e033f858d957758fef8ce34f71319d79c6.
This test.sail
test.sail
default Order dec $include <vector_dec.sail> function foo() -> bits(definitelydoesntexist) = { 0b0 }
gives this error
❯ sail -c test.sail Error: SMT solver returned unexpected status 1
This was quite tricky to track down. It gives no clue to the location and my actual error was a typo of bits(r) instead of bits(4) - not obvious!
bits(r)
bits(4)
Thanks, I've added the missing check. Now, just waiting on the CI before merging.
I am using Sail from commit 27a183e033f858d957758fef8ce34f71319d79c6.
This
test.sail
gives this error
This was quite tricky to track down. It gives no clue to the location and my actual error was a typo of
bits(r)
instead ofbits(4)
- not obvious!