From d605a9a4de61a21e00468ca3d84df52275a2f07b Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Thu, 11 May 2017 00:04:43 +0200 Subject: [PATCH] Fix flow errors (#517) --- src/tokenizer/state.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tokenizer/state.js b/src/tokenizer/state.js index 3200c4e646..8fe08ac001 100644 --- a/src/tokenizer/state.js +++ b/src/tokenizer/state.js @@ -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