summaryrefslogtreecommitdiff
path: root/compiler/PureUtils.ml
diff options
context:
space:
mode:
authorSon Ho2023-11-21 13:55:46 +0100
committerSon Ho2023-11-21 13:55:46 +0100
commite94cd72ffa63dbc5fc40c7c1a422c1a70ba4a7e5 (patch)
tree922f6bbd6d3bdc6af2f1d351dd3d4104861cfc5c /compiler/PureUtils.ml
parentf852e1a1334b7506c0baf366b9e75cd01b9c843e (diff)
Add an `is_local` field to declarations
Diffstat (limited to '')
-rw-r--r--compiler/PureUtils.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/PureUtils.ml b/compiler/PureUtils.ml
index 06270621..d410abdc 100644
--- a/compiler/PureUtils.ml
+++ b/compiler/PureUtils.ml
@@ -646,6 +646,7 @@ let trait_decl_get_method (trait_decl : trait_decl) (method_name : string) :
let trait_decl_is_empty (trait_decl : trait_decl) : bool =
let {
def_id = _;
+ is_local = _;
name = _;
llbc_name = _;
generics = _;
@@ -664,6 +665,7 @@ let trait_decl_is_empty (trait_decl : trait_decl) : bool =
let trait_impl_is_empty (trait_impl : trait_impl) : bool =
let {
def_id = _;
+ is_local = _;
name = _;
llbc_name = _;
impl_trait = _;