diff options
author | Eduardo Julian | 2022-06-26 02:57:13 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-26 02:57:13 -0400 |
commit | 716ca5377386ca87eded7dd514ccc17f8ed281c3 (patch) | |
tree | 30ecd03de0f32057d453ab2c342fd17f88732ae3 /lux-lua | |
parent | cfdc546e6834ceeb78cb692d17fd5c60695be982 (diff) |
De-sigil-ification: suffix : [Part 16]
Diffstat (limited to 'lux-lua')
-rw-r--r-- | lux-lua/source/program.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index 402287d22..f904a2416 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -9,7 +9,7 @@ [control ["[0]" maybe] ["[0]" try (.only Try)] - ["[0]" exception (.only exception:)] + ["[0]" exception (.only exception)] ["[0]" io (.only IO io)] ["[0]" function] [concurrency @@ -167,7 +167,7 @@ (schedulingContextFactory [] net/sandius/rembulan/runtime/SchedulingContextFactory) (call [net/sandius/rembulan/StateContext java/lang/Object [java/lang/Object]] "try" [java/lang/Object])) - (exception: (unknown_kind_of_object [object java/lang/Object]) + (exception (unknown_kind_of_object [object java/lang/Object]) (exception.report "Class" (ffi.of_string (java/lang/Object::toString (java/lang/Object::getClass object))) "Object" (ffi.of_string (java/lang/Object::toString object)))) @@ -224,7 +224,7 @@ {try.#Failure error})) {try.#Success output})))) - (exception: .public nil_has_no_lux_representation) + (exception .public nil_has_no_lux_representation) (def (read host_object) Translator @@ -445,7 +445,7 @@ (panic! (exception.error ..unknown_kind_of_object [(as java/lang/Object field)]))))) ))) - (exception: (cannot_apply_a_non_function [object java/lang/Object]) + (exception (cannot_apply_a_non_function [object java/lang/Object]) (exception.report "Non-function" (ffi.of_string (java/lang/Object::toString object)))) |