satyr/coco — Issue #100: Variable scoping order issue
Author: ceymard
Created: 2011-10-18 09:54:25+00:00
State: open

Don't know if bug or not. The following doesn't compile ;

```coffeescript
function a

function b
v := 2

v = null
b!
```

since `v` is declared in `a` and is evaluated before `b` is called (since coco puts all the vars at the beginning of the scope), I think this should be allowed to compile.

IE. nested functions should be evaluated after their parent scope.