elliottt / easy-smt

Easy SMT solver interaction
Apache License 2.0
24 stars 4 forks source link

`unreachable` triggered when `get_value` called with an empty list #17

Closed rachitnigam closed 1 year ago

rachitnigam commented 1 year ago

It seems like Z3 returns an error if get-value is called with an empty list which in turn triggers an unreachable call. Instead of doing that, the library should catch the problem when get_value is called so that the user gets a meaningful error message.