mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 01:41:44 +03:00
12f40f538f
The scope should be checked at the same multiplicity as the enclosing expression.
9 lines
280 B
Plaintext
9 lines
280 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.idr:2:24--2:32
|
|
1 | dupLinear : (1 x : a) -> (a, a)
|
|
2 | dupLinear x = dup (let var = 22 in x)
|
|
^^^^^^^^
|
|
|