diff options
author | Eduardo Julian | 2015-05-24 18:55:08 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-24 18:55:08 -0400 |
commit | e86b31726a19b0706f3618467775ba8ce6030393 (patch) | |
tree | 91ba5aac9acac2c9cd5415bbcd9c0b7710a4a871 /src/lux/analyser/module.clj | |
parent | 1f0be2351bc76b0de15d97691f8ea0728d9ab321 (diff) |
- Cleaned-up a few things in lux.lux
- Replace most instances of "=" with ".equals".
- Added an optimization to lux.type/type= that drastically speeds-up type comparisons.
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 f36dc044a..f882f1275 100644 --- a/src/lux/analyser/module.clj +++ b/src/lux/analyser/module.clj @@ -68,7 +68,7 @@ (if-let [$def (&/|get name $module)] (matchv ::M/objects [$def] [[exported? $$def]] - (if (or exported? (= current-module module)) + (if (or exported? (.equals ^Object current-module module)) (matchv ::M/objects [$$def] [["lux;AliasD" [?r-module ?r-name]]] ((find-def ?r-module ?r-name) |