aboutsummaryrefslogtreecommitdiff
path: root/src/lux/analyser/module.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-05-01 19:18:02 -0400
committerEduardo Julian2015-05-01 19:18:02 -0400
commit52d428514631cf9ed54e2f8ad418ea21165011c7 (patch)
tree2db21388adca2815729184130b34ce752781e936 /src/lux/analyser/module.clj
parenta31500f27a29c34877e94188fad1abac3fefb576 (diff)
Optimized the compiler with 2 tweaks:
- Compilation units are not longer wrapped inside Expression/Statement variants. - analyse-apply* no longer returns lists.
Diffstat (limited to 'src/lux/analyser/module.clj')
-rw-r--r--src/lux/analyser/module.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lux/analyser/module.clj b/src/lux/analyser/module.clj
index 6f82d9b6f..b9a92c120 100644
--- a/src/lux/analyser/module.clj
+++ b/src/lux/analyser/module.clj
@@ -21,7 +21,7 @@
(&/set$ &/$ENVS (&/|list (&/update$ &/$LOCALS (fn [locals]
(&/update$ &/$MAPPINGS (fn [mappings]
(&/|put (str "" &/+name-separator+ name)
- (&/V "Expression" (&/T (&/V "global" (&/T module name)) &type/$Void))
+ (&/T (&/V "global" (&/T module name)) &type/$Void)
mappings))
locals))
?env))))