File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -346,12 +346,12 @@ mutual
346
346
do Just _ <- lookupCtxtExact n (gamma defs)
347
347
| _ => undefinedName fc n
348
348
tfty <- getTerm gfty
349
- throw (GenericMsg fc (" Linearity checking failed on " ++ show f' ++
350
- " (" ++ show tfty ++ " not a function type)" ))
349
+ throw (GenericMsg fc (" Linearity checking failed on " ++ show ! (toFullNames f') ++
350
+ " (" ++ show ! (toFullNames tfty) ++ " not a function type)" ))
351
351
352
352
_ => do tfty <- getTerm gfty
353
- throw (GenericMsg fc (" Linearity checking failed on " ++ show f' ++
354
- " (" ++ show tfty ++ " not a function type)" ))
353
+ throw (GenericMsg fc (" Linearity checking failed on " ++ show ! (toFullNames f') ++
354
+ " (" ++ show ! (toFullNames tfty) ++ " not a function type)" ))
355
355
356
356
lcheck rig erase env (As fc s as pat)
357
357
= do (as', _ , _ ) <- lcheck rig erase env as
@@ -671,7 +671,7 @@ mutual
671
671
empty <- clearDefs defs
672
672
ty <- quote empty env nty
673
673
throw (GenericMsg fc (" Linearity checking failed on metavar "
674
- ++ show n ++ " (" ++ show ty
674
+ ++ show ! (toFullNames n) ++ " (" ++ show ! (toFullNames ty)
675
675
++ " not a function type)" ))
676
676
lcheckMeta rig erase env fc n idx [] chk nty
677
677
= do defs <- get Ctxt
You can’t perform that action at this time.
0 commit comments