Skip to content

Commit bba75c7

Browse files
committed
Fix scope of notations
1 parent abdb24c commit bba75c7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

HB/lock.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lock-def Name AritySkel BoSkel :- std.do! [
1414
private.lock-module-type NameTy Ty Bo Signature,
1515
private.lock-module-body Signature Name Ty Bo C,
1616

17-
log.coq.notation.add-abbreviation Name 0 (global (const C)) ff _,
17+
@global! => log.coq.notation.add-abbreviation Name 0 (global (const C)) ff _,
1818
].
1919

2020
namespace private {

tests/lock.v

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ HB.lock Definition bar : nat1 := 3.
88

99
HB.lock Definition baz n : nat := 3 + n.
1010

11+
Module Import X.
12+
1113
Axiom bigbody : Type -> Type -> Type.
1214
Axiom bigop : forall R I : Type, R -> list I -> (I -> bigbody R I) -> R.
1315

14-
HB.lock Definition xxx := bigop.
16+
HB.lock Definition big := bigop.
17+
18+
End X.
19+
20+
About big.
1521

0 commit comments

Comments
 (0)