aboutsummaryrefslogtreecommitdiff
path: root/lux-r
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-r
parent77301f3a456c015daa9d8f9aa3d80fd4e45f8e7e (diff)
De-bracing | part 1
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