aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/generator/structure.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/generator/structure.jvm.lux')
-rw-r--r--new-luxc/source/luxc/generator/structure.jvm.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/generator/structure.jvm.lux b/new-luxc/source/luxc/generator/structure.jvm.lux
index 74e44d1ca..e3a4bed75 100644
--- a/new-luxc/source/luxc/generator/structure.jvm.lux
+++ b/new-luxc/source/luxc/generator/structure.jvm.lux
@@ -15,7 +15,8 @@
(host ["$" jvm]
(jvm ["$t" type]
["$d" def]
- ["$i" inst])))))
+ ["$i" inst]))))
+ [../runtime])
(def: $Object $;Type ($t;class "java.lang.Object" (list)))
@@ -50,7 +51,7 @@
(wrap (|>. ($i;int (nat-to-int tag))
(flagI tail?)
memberI
- ($i;INVOKESTATIC &common;runtime-class-name
+ ($i;INVOKESTATIC ../runtime;runtime-name
"sum_make"
($t;method (list $t;int $Object $Object)
(#;Some ($t;array +1 $Object))