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

9 lines
276 B
Plaintext

1/1: Building dupdup (dupdup.idr)
Error: While processing right hand side of dupLinear. Trying to use linear name x in non-linear context.
dupdup:2:24--2:32
1 | dupLinear : (1 x : a) -> (a, a)
2 | dupLinear x = dup (let var = 22 in x)
^^^^^^^^