aboutsummaryrefslogtreecommitdiff
path: root/lux-r
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lux-r/source/test/program.lux4
-rw-r--r--lux-ruby/source/program.lux4
2 files changed, 4 insertions, 4 deletions
diff --git a/lux-r/source/test/program.lux b/lux-r/source/test/program.lux
index 53463255a..0d306ffef 100644
--- a/lux-r/source/test/program.lux
+++ b/lux-r/source/test/program.lux
@@ -7,8 +7,8 @@
[cli {"+" [program:]}]]]]
[spec
["[0]" compositor]]
- {1
- ["[0]" /]})
+ [\\
+ ["[0]" /]])
(program: args
(<| io.io
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index c28e1ae9c..d5a0c9b82 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -262,8 +262,8 @@
(org/jruby/RubyHash::get (:as java/lang/String runtime.variant_flag_field) host_object)
(org/jruby/RubyHash::get (:as java/lang/String runtime.variant_value_field) host_object)]
(^multi [(#.Some tag) ?flag (#.Some value)]
- {(read value)
- (#try.Success value)})
+ [(read value)
+ (#try.Success value)])
(#try.Success [(:as Any (java/lang/Long::intValue (:as java/lang/Long tag)))
(:as Any
(case ?flag