Skip to content

Commit

Permalink
Report locations for missing SMT generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Timmmm authored and Alasdair committed Jan 7, 2025
1 parent fd10566 commit 1cc3881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sail_smt_backend/jib_smt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ module Make (Config : CONFIG) = struct
| Some generator ->
let* value = generator args ret_ctyp in
singleton (define_const id ret_ctyp value)
| None -> failwith ("No generator " ^ string_of_id function_id)
| None -> raise (Reporting.err_general l ("No generator " ^ string_of_id function_id))
)
)
else if extern && string_of_id function_id = "internal_vector_init" then singleton (declare_const id ret_ctyp)
Expand Down

0 comments on commit 1cc3881

Please sign in to comment.