Idris2/tests/idris2/linear007/expected
2020-08-18 19:25:36 +01:00

11 lines
352 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.idr:7:11--10:15
07 | = let 1 test = the Nat $ case z of
08 | Z => Z
09 | (S k) => S z
10 | in
Suggestion: linearly bounded variables must be used exactly once.