summaryrefslogtreecommitdiff
path: root/src/Expressions.ml
diff options
context:
space:
mode:
authorSidney Congard2022-06-08 12:32:14 +0200
committerSidney Congard2022-06-08 12:32:14 +0200
commitba61ed50e7b2fdc78690de92d734a3747029f903 (patch)
treed038735ea4a263f80e1752661c1c707d21810f28 /src/Expressions.ml
parent1b3f5a15aaabf5810f07797550d1a19a55b6be3c (diff)
read globals from LLBC JSON into functions
Diffstat (limited to 'src/Expressions.ml')
-rw-r--r--src/Expressions.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Expressions.ml b/src/Expressions.ml
index 6bf14c66..f1a4a8c3 100644
--- a/src/Expressions.ml
+++ b/src/Expressions.ml
@@ -1,5 +1,6 @@
open Types
open Values
+open FunIdentifier
type field_proj_kind =
| ProjAdt of TypeDeclId.id * VariantId.id option
@@ -88,6 +89,7 @@ let all_binops =
*)
type operand_constant_value =
| ConstantValue of constant_value
+ | ConstantId of FunDeclId.id
| ConstantAdt of VariantId.id option * operand_constant_value list
[@@deriving show]