jcoglan/js.class — Issue #29: JSBuild callstack exceeded
Author: arcanin
Created: 2012-02-11 16:11:57+00:00
State: open

Hi,

I've noticed that the following manifest will trigger a node exception (callstack exceeded). However, it's not erroneous in my opinion : I would expect to have this code in output :

```
a
b
```

(`a` uses `b`, so `b` could be loaded after `a` if necessary, and so the requirement of `b` can still be filled)

*Related manifest :*
```javascript
JS.Packages(function( ) {
this.file("a").provides("a").uses("b");
this.file("b").provides("b").requires("a");
});
```

Is it an error, or am I missing something ?