aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'lux-ruby')
-rw-r--r--lux-ruby/source/program.lux4
1 files changed, 2 insertions, 2 deletions
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