Idris2/tests/idris2/linear/linear007/expected
2023-09-07 14:57:22 +01:00

10 lines
338 B
Plaintext

1/1: Building LCase (LCase.idr)
Error: While processing right hand side of foo. There are 0 uses of linear name y.
LCase:11:11--13:41
11 | = let 1 test = the MyNat $ case z of
12 | MyZ => MyZ
13 | (MyS k) => MyS z
Suggestion: linearly bounded variables must be used exactly once.