mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-03 00:55:00 +03:00
Fix error message for LinearMisuse
This commit is contained in:
parent
e5802204b6
commit
1ae4fdd605
@ -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 ++
|
||||
|
Loading…
Reference in New Issue
Block a user