typo
This commit is contained in:
parent
33ebf3e5fb
commit
3989d8fa79
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ This should produce roughly this code:
|
||||||
PEnv = ref object
|
PEnv = ref object
|
||||||
x: int # data
|
x: int # data
|
||||||
|
|
||||||
proc anon(y: int, c: PClosure): int =
|
proc anon(y: int, c: PEnv): int =
|
||||||
return y + c.x
|
return y + c.x
|
||||||
|
|
||||||
proc add(x: int): tuple[prc, data] =
|
proc add(x: int): tuple[prc, data] =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue