Skip to content

Commit 972d317

Browse files
committed
Make boolbv_width::get_entry provide a useful error message
When hitting UNIMPLEMENTED the user did not have sufficient information to debug this.
1 parent 8f71943 commit 972d317

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/solvers/flattening/boolbv_width.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,10 @@ const boolbv_widtht::entryt &boolbv_widtht::get_entry(const typet &type) const
222222
cache_entry = defined_entryt{0};
223223
}
224224
else
225-
UNIMPLEMENTED;
225+
{
226+
UNIMPLEMENTED_FEATURE(
227+
"boolbv_widtht::get_entry(" + id2string(type_id) + ")");
228+
}
226229

227230
return cache_entry;
228231
}

0 commit comments

Comments
 (0)