diff --git a/cps/environment.nim b/cps/environment.nim index 1b37a229..4e4cd80f 100644 --- a/cps/environment.nim +++ b/cps/environment.nim @@ -49,7 +49,7 @@ func next(ns: seq[NimNode]): NimNode = else: ns[^1] -template nextOf(x: untyped): typed = +template nextOf(x: untyped) = var e = e while not e.isNil: result = next(e.`x`)