Skip to content

Commit

Permalink
Fix test-suite due to changes in 8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
mattam82 committed Jan 23, 2024
1 parent a6214f9 commit 29e95de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test-suite/tmFix.v
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ Module Unquote.
(* idk why this is needed... *)
#[local] Hint Extern 1 (Monad _) => refine TemplateMonad_Monad : typeclass_instances.
Definition tmQuoteSort@{U t u} : TemplateMonad@{t u} sort
:= p <- @tmQuote Prop (Type@{U} -> True);;
:= bind@{t u} (@tmQuote@{t u} Prop (Type@{U} -> True)) (fun p =>
match p with
| tProd _ (tSort s) _ => ret s
| tProd _ (tSort s) _ => ret@{t u} s
| _ => tmFail "Anomaly: tmQuote (Type -> True) should be (tProd _ (tSort _) _)!"%bs
end.
end).
Definition tmQuoteUniverse@{U t u} : TemplateMonad@{t u} Universe.t
:= s <- @tmQuoteSort@{U t u};;
:= bind@{t u} (@tmQuoteSort@{U t u}) (fun s =>
match s with
| sType u => ret u
| _ => tmFail "Sort does not carry a universe (is not Type)"%bs
end.
end).
Definition tmQuoteLevel@{U t u} : TemplateMonad@{t u} Level.t
:= bind@{t u} tmQuoteUniverse@{U t u}
(fun u =>
Expand Down

0 comments on commit 29e95de

Please sign in to comment.