Skip to content

Commit

Permalink
FIx scope delimiter warning (fragile, should be fixed in autosubst)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoDralliam committed Jan 29, 2024
1 parent f4575da commit f3ef850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions theories/AutoSubst/Extra.v
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ From LogRel Require Import Utils BasicAst.
Declare Scope asubst_scope.
Delimit Scope asubst_scope with asub.

Arguments funcomp {X Y Z}%type_scope (g f)%function_scope.
Arguments funcomp {X Y Z}%_type_scope (g f)%_function_scope.

Notation "f >> g" := (funcomp g f) (at level 50) : function_scope.

Expand Down Expand Up @@ -51,7 +51,7 @@ Ltac change_autosubst :=

Smpl Add 50 change_autosubst : refold.

Arguments ren1 {_ _ _}%type_scope {Ren1} _ !_/.
Arguments ren1 {_ _ _}%_type_scope {Ren1} _ !_/.
(* Ideally, we'd like Ren_term to not be there, and ren_term to be directly the Ren1 instance… *)
Arguments Ren_term _ _ /.
Arguments Ren1_subst {_ _ _} _ _/.
Expand Down
2 changes: 1 addition & 1 deletion theories/AutoSubst/unscoped.v
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Class Var X Y :=

(** ** Proofs for the substitution primitives. *)

Arguments funcomp {X Y Z} (g)%fscope (f)%fscope.
Arguments funcomp {X Y Z} (g)%_fscope (f)%_fscope.

Module CombineNotations.
Notation "f >> g" := (funcomp g f) (at level 50) : fscope.
Expand Down

0 comments on commit f3ef850

Please sign in to comment.