jshint/jshint — Issue #379: latedef: false doesn't work in a particular case
Author: scriby
Created: 2011-12-07 21:11:04+00:00
State: open

The following code reports that 'y' is not defined, even if latedef is set to false:

```javascript
(function(){
var x = function(){
y();
};

var y = function(){
x();
};
})();
```

This one works correclty, though:

```javascript
var x = function(){
y();
};

var y = function(){
x();
};
```