captainbrosset/cleanjs — Issue #29: Doesn't detect the use of 'arguments' keyword
Author: juliandescottes
Created: 2012-02-05 13:26:37+00:00
State: open

Code :
```javascript
$constructor : function (context, recorders, animationLoop, timer) {
this.$GameEngine.constructor.apply(this, arguments);
this.__colliderResolver = new this.$ColliderResolverImpl();
}
```

Cleanjs complains about unused context, recorders, animationLoop, timer. Which I am actually forwarding to another constructor through ```arguments```.

I wouldn't completely remove the warning because it is 'not nice' to use arguments. I makes the code hard to understand, makes it like the signature cannot be trusted etc etc ...

But it would be nice to have a different error message.