mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 16:28:12 +03:00
Verification: support unboxed defaults
This commit is contained in:
parent
dc3ffa0dcd
commit
9203e4f7bb
@ -142,12 +142,7 @@ let match_and_ignore_outer_reentrant_default (ctx : ctx) (e : typed expr) :
|
|||||||
(Print.expr ()) e)
|
(Print.expr ()) e)
|
||||||
| EErrorOnEmpty d ->
|
| EErrorOnEmpty d ->
|
||||||
d (* input subscope variables and non-input scope variable *)
|
d (* input subscope variables and non-input scope variable *)
|
||||||
| _ ->
|
| _ -> e
|
||||||
Message.raise_spanned_error (Expr.pos e)
|
|
||||||
"Internal error: this expression does not have the structure expected by \
|
|
||||||
the VC generator:\n\
|
|
||||||
%a"
|
|
||||||
(Print.expr ()) e
|
|
||||||
|
|
||||||
(** {1 Verification conditions generator}*)
|
(** {1 Verification conditions generator}*)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user