diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/reference.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/reference.jvm.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/reference.jvm.lux index 8e229af9c..e9c445dd4 100644 --- a/new-luxc/source/luxc/lang/translation/reference.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/reference.jvm.lux @@ -1,7 +1,7 @@ (;module: lux (lux (control [monad #+ do]) - (data [text] + (data [text "text/" Hash<Text>] text/format) [meta "meta/" Monad<Meta>]) (luxc ["&" base] @@ -43,5 +43,5 @@ (def: #export (translate-definition [def-module def-name]) (-> Ident (Meta $;Inst)) - (let [bytecode-name (format def-module "/" (&;normalize-name def-name))] + (let [bytecode-name (format def-module "/" (&;normalize-name def-name) (%n (text/hash def-name)))] (meta/wrap ($i;GETSTATIC bytecode-name commonT;value-field commonT;$Object)))) |