Fix error message for LinearMisuse

This commit is contained in:
Justus Matthiesen 2022-06-16 18:22:19 +01:00 committed by G. Allais
parent e5802204b6
commit 1ae4fdd605

View File

@ -252,14 +252,14 @@ Show Error where
where
showRig : RigCount -> String
showRig = elimSemi
"linear"
"irrelevant"
"linear"
(const "unrestricted")
showRel : RigCount -> String
showRel = elimSemi
"relevant"
"irrelevant"
"relevant"
(const "non-linear")
show (BorrowPartial fc env t arg)
= show fc ++ ":" ++ show t ++ " borrows argument " ++ show arg ++