aboutsummaryrefslogtreecommitdiff
path: root/luxc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--luxc/src/lux/compiler/cache.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/luxc/src/lux/compiler/cache.clj b/luxc/src/lux/compiler/cache.clj
index 91aa8802b..c51691322 100644
--- a/luxc/src/lux/compiler/cache.clj
+++ b/luxc/src/lux/compiler/cache.clj
@@ -123,7 +123,7 @@
(&/|map #(.split ^String % &&core/datum-separator 2) imports))]
cache-table* (&/fold% (fn [cache-table* _import]
(|do [:let [[_module _hash] _import]
- file-content (&&io/read-file source-dirs _module)
+ [file-name file-content] (&&io/read-file source-dirs _module)
output (pre-load! source-dirs cache-table* _module (hash file-content)
load-def-value install-all-defs-in-module uninstall-all-defs-in-module)]
(return output)))
@@ -204,7 +204,7 @@
(&/$Left error)
(return* _compiler cache-table)
- (&/$Right _compiler* file-content)
+ (&/$Right _compiler* [file-name file-content])
((pre-load! source-dirs cache-table module-name (hash file-content)
load-def-value install-all-defs-in-module uninstall-all-defs-in-module)
_compiler*))))