diff options
author | Eduardo Julian | 2015-05-01 19:18:02 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-01 19:18:02 -0400 |
commit | 52d428514631cf9ed54e2f8ad418ea21165011c7 (patch) | |
tree | 2db21388adca2815729184130b34ce752781e936 /src/lux/analyser/module.clj | |
parent | a31500f27a29c34877e94188fad1abac3fefb576 (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.clj | 2 |
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)))) |