This commit is contained in:
rhiannon morris 2023-02-19 17:43:14 +01:00
parent 810de09f61
commit 27e61011ac
2 changed files with 3 additions and 3 deletions

View file

@ -188,7 +188,7 @@ parameters (defs : Definitions' q _) {auto _ : (CanEqual q m, Eq q)}
||| compares two types, using the current variance `mode` for universes.
||| fails if they are not types, even if they would happen to be equal.
export covering
export covering %inline
compareType : TContext q 0 n -> (s, t : Term q 0 n) -> m ()
compareType ctx s t = do
let Element s ns = whnfD defs s