diff options
Diffstat (limited to 'lux-lua')
-rw-r--r-- | lux-lua/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index f644f6189..e55f4169a 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -6,6 +6,7 @@ [abstract ["." monad (#+ do)]] [control + ["." maybe] ["." try (#+ Try)] ["." exception (#+ exception:)] ["." io (#+ IO io)] @@ -13,7 +14,6 @@ [concurrency ["." async (#+ Async)]]] [data - ["." maybe] ["." text ("#\." hash) ["%" format (#+ format)] [encoding @@ -210,7 +210,7 @@ (|> value (array.read 2) maybe.assume re_wrap) _ - (error! (exception.construct ..unknown_kind_of_object field))) + (panic! (exception.construct ..unknown_kind_of_object field))) #.None (case (ffi.check java/lang/Long field) @@ -218,7 +218,7 @@ (|> value (array.read (|> idx (:as Nat) dec)) maybe.assume re_wrap) #.None - (error! (exception.construct ..unknown_kind_of_object field))))) + (panic! (exception.construct ..unknown_kind_of_object field))))) ))) (type: Translator |