diff options
author | Eduardo Julian | 2015-05-03 17:27:30 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-03 17:27:30 -0400 |
commit | bee6b4914135d3703524f505eed32a8779cdb5aa (patch) | |
tree | 73524d2628a97f20b3e3324350320296c3b6f700 /src/lux/analyser/module.clj | |
parent | 99dd3b322777d5abdaa976aa9445c168c234e139 (diff) |
- Optimized the compiler by eliminating reflection.
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 921417c17..d2e0a745b 100644 --- a/src/lux/analyser/module.clj +++ b/src/lux/analyser/module.clj @@ -63,7 +63,7 @@ [["lux;ValueD" ?type]] (do ;; (prn 'declare-macro/?type (aget ?type 0)) (&/run-state (|do [_ (&type/check &type/Macro ?type) - loader &/loader + ^ClassLoader loader &/loader :let [macro (-> (.loadClass loader (&host/location (&/|list module name))) (.getField "_datum") (.get nil))]] |