mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 05:23:20 +00:00
@@ -459,7 +459,7 @@ This should produce roughly this code:
|
||||
PEnv = ref object
|
||||
x: int # data
|
||||
|
||||
proc anon(y: int, c: PClosure): int =
|
||||
proc anon(y: int, c: PEnv): int =
|
||||
return y + c.x
|
||||
|
||||
proc add(x: int): tuple[prc, data] =
|
||||
|
||||
Reference in New Issue
Block a user