mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +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)
|