summaryrefslogtreecommitdiff
path: root/compiler/Invariants.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/Invariants.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/Invariants.ml b/compiler/Invariants.ml
index 49ba8370..e0e3f354 100644
--- a/compiler/Invariants.ml
+++ b/compiler/Invariants.ml
@@ -2,7 +2,6 @@
* are always maintained by evaluation contexts *)
open Types
-open PrimitiveValues
open Values
open Contexts
open Cps
@@ -465,7 +464,7 @@ let check_typing_invariant (ctx : eval_ctx) : unit =
inner_values);
(* The length is necessarily concrete *)
let len =
- (PrimitiveValuesUtils.literal_as_scalar
+ (ValuesUtils.literal_as_scalar
(TypesUtils.const_generic_as_literal cg))
.value
in