fn makeClosure(n: int): fn: int { let n = n; # Workaround fn inner: int { return n; } return inner; } var closure = makeClosure(1); closure();