Skip to content

Commit

Permalink
Resolve abbreviation aliases in Ltac2
Browse files Browse the repository at this point in the history
Useful for rewriter in mit-plv/rewriter#159
  • Loading branch information
proux01 committed Sep 21, 2024
1 parent 0d98057 commit 9398cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ltac2/tac2core.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ let () =
GlbVal (GlobRef.VarRef id), gtypref t_reference
| Tac2qexpr.QReference qid ->
let gr =
try Nametab.locate qid
try Smartlocate.locate_global_with_alias qid
with Not_found as exn ->
let _, info = Exninfo.capture exn in
Nametab.error_global_not_found ~info qid
Expand Down

0 comments on commit 9398cd2

Please sign in to comment.