mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 17:10:22 +03:00
Fix missing case
This commit is contained in:
parent
4455b8fb0c
commit
39110f53a5
@ -255,7 +255,7 @@ let op_type (op : A.operator Marked.pos) : typ Marked.pos UnionFind.elem =
|
||||
| A.Unop A.IntToRat -> arr it rt
|
||||
| A.Unop A.MoneyToRat -> arr mt rt
|
||||
| A.Unop A.RatToMoney -> arr rt mt
|
||||
| Binop (Mult KDate) | Binop (Div KDate) | Unop (Minus KDate) ->
|
||||
| Binop (Mult KDate) | Binop (Div (KDate | KDuration)) | Unop (Minus KDate) ->
|
||||
Errors.raise_spanned_error pos "This operator is not available!"
|
||||
|
||||
(** {1 Double-directed typing} *)
|
||||
|
Loading…
Reference in New Issue
Block a user