From b05ceb24788aaec77919cb866efbc9c73186983c Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sat, 10 Sep 2016 09:20:10 -0400 Subject: [PATCH] doh --- src/Module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module.js b/src/Module.js index fc3ebd1..1c65807 100644 --- a/src/Module.js +++ b/src/Module.js @@ -70,7 +70,7 @@ export default class Module { } this.declarations = blank(); - this.type === 'Module'; // TODO only necessary so that Scope knows this should be treated as a function scope... messy + this.type = 'Module'; // TODO only necessary so that Scope knows this should be treated as a function scope... messy this.scope = new ModuleScope( this ); this.analyse();