benjamn/ast-types — pull request #68 by eventualbuddha (2014-10-15 04:28:09+00:00)
Title: Fix bindings in named function expressions

The commit that added support for function expression names counting as part of the binding for that function’s scope, 89ee100209a4f55697a6442071e5128fa46a997e, caused *only* the function name to count as a binding in that function. For example:

```js
var f = function f(a, b) { var c; };
```

Inside `f`, the only bound name was `f` itself referring to the function expression. It should have bound `a`, `b`, `c`, and `f`.