This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Exception: Constructors of derived class must contain a super call when the memberVariables option is enabled #97
Open
Description
When the memberVariables option in traceur is enabled I get the following exception:
Uncaught exception: [ 'annotations.js:29:3: Constructors of derived class must contain a super call when the memberVariables option is enabled' ]
Tested with (Options: --annotations --types --member-variables):
import {Injector, Inject} from "di/src";
[...]
This would fix the problem:
[...]
class InjectPromise extends Inject {
constructor(...tokens) {
super(...tokens);
this.isPromise = true;
this.isLazy = false;
}
}
[...]
Metadata
Metadata
Assignees
Labels
No labels