diff options
author | Eduardo Julian | 2019-08-10 23:46:33 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-08-10 23:46:33 -0400 |
commit | 85239d2c294a28b45f46f0b1333d161a403270f6 (patch) | |
tree | a3c8a06f244a0bdf48ab1e337cdabc5113827c50 /new-luxc/source/luxc/lang/translation/jvm.lux | |
parent | c06ee7d55123c4f87cd15e15f8d25b9ab08ea3f3 (diff) |
Got the new compiler working again.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm.lux | 10 |
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])))) |