mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 00:15:39 +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)
|
||||
| EErrorOnEmpty d ->
|
||||
d (* input subscope variables and non-input scope variable *)
|
||||
| _ ->
|
||||
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
|
||||
| _ -> e
|
||||
|
||||
(** {1 Verification conditions generator}*)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user