google/traceur-compiler — pull request #1406 by vojtajina (2014-10-08 18:45:56+00:00)
Title: Support circular annotations

With es6-module-loader, it is possible to use circular imports.
Classes from circular imports are not available during the module
evaluation and thus this code fails (`Inject` is undefined):
```js
Foo.annotations = [new Inject];
```

This commit changes the annotation output to use a getter:
```js
Object.defineProperty(Foo, 'annotations', {
get: function() {
return [new Inject];
}
});
```

NOTE:
If the code tries to read `.annotations` or `.parameters` property
during the module evaluation (root context), it won’t work.