mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +03:00
12f40f538f
The scope should be checked at the same multiplicity as the enclosing expression.
3 lines
70 B
Idris
3 lines
70 B
Idris
dupLinear : (1 x : a) -> (a, a)
|
|
dupLinear x = dup (let var = 22 in x)
|