Fix flow errors (#517)

This commit is contained in:
Daniel Tschinder 2017-05-11 00:04:43 +02:00 committed by GitHub
parent 1773ca7457
commit d605a9a4de

View File

@ -48,6 +48,7 @@ export default class State {
this.start = this.end = this.pos;
this.startLoc = this.endLoc = this.curPosition();
// $FlowIgnore
this.lastTokEndLoc = this.lastTokStartLoc = null;
this.lastTokStart = this.lastTokEnd = this.pos;
@ -60,8 +61,6 @@ export default class State {
this.invalidTemplateEscapePosition = null;
this.exportedIdentifiers = [];
return this;
}
// TODO