aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-08-10 23:46:33 -0400
committerEduardo Julian2019-08-10 23:46:33 -0400
commit85239d2c294a28b45f46f0b1333d161a403270f6 (patch)
treea3c8a06f244a0bdf48ab1e337cdabc5113827c50 /new-luxc/source/luxc/lang/translation/jvm.lux
parentc06ee7d55123c4f87cd15e15f8d25b9ab08ea3f3 (diff)
Got the new compiler working again.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm.lux10
1 files changed, 4 insertions, 6 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux
index b2822726c..b5d53aa4f 100644
--- a/new-luxc/source/luxc/lang/translation/jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm.lux
@@ -10,20 +10,18 @@
[concurrency
["." atom (#+ Atom atom)]]]
[data
+ [binary (#+ Binary)]
["." product]
["." error (#+ Error)]
- ["." text ("#/." hash)
- format]
+ ["." text ("#@." hash)
+ ["%" format (#+ format)]]
[collection
["." array]
- [list ("#/." functor)]
["." dictionary (#+ Dictionary)]]]
[target
[jvm
["." loader (#+ Library)]
["." type (#+ Type)]]]
- [world
- [binary (#+ Binary)]]
[tool
[compiler
["." name]]]]
@@ -127,7 +125,7 @@
(-> Library ClassLoader Name Inst (Error [Text Any Definition]))
(let [class-name (format (text.replace-all .module-separator class-path-separator module)
class-path-separator (name.normalize name)
- "___" (%n (text/hash name)))]
+ "___" (%.nat (text@hash name)))]
(do error.monad
[[value definition] (evaluate! library loader class-name valueI)]
(wrap [class-name value definition]))))