summaryrefslogtreecommitdiff
path: root/compiler/PrePasses.ml
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-04-18 14:14:53 +0200
committerGitHub2024-04-18 14:14:53 +0200
commit8cd6090128397dd9dccf5bb7c27dd85f318aa3c5 (patch)
treed2f2bd4b415f55ff4830e35c4883727b89136577 /compiler/PrePasses.ml
parentb4c3829305cac70827f6cbca2e90b0ef8be00d47 (diff)
parent6ef342ea6ceb0a49929859ef96c5e0afcea7451f (diff)
Merge pull request #116 from AeneasVerif/item_meta
Diffstat (limited to '')
-rw-r--r--compiler/PrePasses.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/PrePasses.ml b/compiler/PrePasses.ml
index a46ef79c..c84cd39c 100644
--- a/compiler/PrePasses.ml
+++ b/compiler/PrePasses.ml
@@ -446,7 +446,7 @@ let apply_passes (crate : crate) : crate =
report to the user the fact that we will ignore the function body *)
let fmt = Print.Crate.crate_to_fmt_env crate in
let name = Print.name_to_string fmt f.name in
- save_error __FILE__ __LINE__ (Some f.meta)
+ save_error __FILE__ __LINE__ (Some f.item_meta.meta)
("Ignoring the body of '" ^ name ^ "' because of previous error");
{ f with body = None }
in