diff options
Diffstat (limited to 'stdlib/source/library/lux/ffi.lua.lux')
-rw-r--r-- | stdlib/source/library/lux/ffi.lua.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/ffi.lua.lux b/stdlib/source/library/lux/ffi.lua.lux index fc6266d78..a0ee4ab01 100644 --- a/stdlib/source/library/lux/ffi.lua.lux +++ b/stdlib/source/library/lux/ffi.lua.lux @@ -220,11 +220,11 @@ (let [qualify (: (-> Text Code) (function (_ member_name) (|> format - (text.replace_all "#" class) - (text.replace_all "." member_name) + (text.replaced "#" class) + (text.replaced "." member_name) code.local_identifier))) g!type (code.local_identifier class) - real_class (text.replace_all "/" "." class) + real_class (text.replaced "/" "." class) imported (case (text.split_all_with "/" class) (#.Item head tail) (list\fold (function (_ sub super) @@ -289,7 +289,7 @@ (#Function [name alias inputsT io? try? outputT]) (in (list (..make_function (code.local_identifier (maybe.else name alias)) g!temp - (` ("lua constant" (~ (code.text (text.replace_all "/" "." name))))) + (` ("lua constant" (~ (code.text (text.replaced "/" "." name))))) inputsT io? try? @@ -299,7 +299,7 @@ (in (list (` ((~! syntax:) ((~ (code.local_identifier name))) (\ (~! meta.monad) (~' in) (list (` (.:as (~ (nilable_type fieldT)) - ("lua constant" (~ (code.text (text.replace_all "/" "." name)))))))))))) + ("lua constant" (~ (code.text (text.replaced "/" "." name)))))))))))) ))) (template: .public (closure <inputs> <output>) |