aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/generator/structure.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-10-12 18:14:19 -0400
committerEduardo Julian2017-10-12 18:14:19 -0400
commit4b672d27a1a1a79643c43cf06917072cc97c1289 (patch)
tree6136e952c0e87172921ad4bf5c0ee128a085a0ba /new-luxc/source/luxc/generator/structure.jvm.lux
parent50c370878c0f9985a8b6d1003af9e9f6282b853e (diff)
- Compilation and tests for arrays.
Diffstat (limited to 'new-luxc/source/luxc/generator/structure.jvm.lux')
-rw-r--r--new-luxc/source/luxc/generator/structure.jvm.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/new-luxc/source/luxc/generator/structure.jvm.lux b/new-luxc/source/luxc/generator/structure.jvm.lux
index a89f3083f..6aca0dca1 100644
--- a/new-luxc/source/luxc/generator/structure.jvm.lux
+++ b/new-luxc/source/luxc/generator/structure.jvm.lux
@@ -36,7 +36,9 @@
memberI
$i;AASTORE)))))
(:: @ map $i;fuse))]
- (wrap (|>. ($i;array $Object size) membersI))))
+ (wrap (|>. ($i;int (nat-to-int size))
+ ($i;array $Object)
+ membersI))))
(def: (flagI tail?)
(-> Bool $;Inst)