aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
diff options
context:
space:
mode:
authorEduardo Julian2021-09-08 22:24:08 -0400
committerEduardo Julian2021-09-08 22:24:08 -0400
commit54ab659064990ff37a9234c9792102a3b88277d6 (patch)
treee7e6067d0936bd04212db6e0d3df85a74e0b194f /lux-ruby
parent77301f3a456c015daa9d8f9aa3d80fd4e45f8e7e (diff)
De-bracing | part 1
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