diff options
Diffstat (limited to 'lib/query/encoder.ml')
| -rw-r--r-- | lib/query/encoder.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/query/encoder.ml b/lib/query/encoder.ml index 4c8d528..3c9484a 100644 --- a/lib/query/encoder.ml +++ b/lib/query/encoder.ml @@ -309,7 +309,7 @@ module DataToCaqtiValues = Map (struct (* For the single-column fields handled here, the DB and code representations coincide — match the field type to prove it *) let check (type x) (ct : (x, x, Model.target) Model.Types.t) : x = - match Model.Types.eq_ocaml ct field_type' with + match Model.Types.eq ct field_type' with | Some Equal -> value | None -> raise TypeMismatch in |
