Idris2/tests/idris2/linear007/expected

10 lines
342 B
Plaintext
Raw Normal View History

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