diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-05-28 23:16:55 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-05-28 23:16:55 +0200 |
commit | f0318bd020abe57c0cf365b0479b5d14b95ff07a (patch) | |
tree | ed2d89cda1adeb6f3ed6a6da98e054e2b7519c37 /builtin/vector.lua | |
parent | fea98ddbbe886845ed41ab87d9a2d24323c8de82 (diff) | |
download | hydra-dragonfire-f0318bd020abe57c0cf365b0479b5d14b95ff07a.tar.xz |
Migrate to gopher-lua
Diffstat (limited to 'builtin/vector.lua')
-rw-r--r-- | builtin/vector.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/vector.lua b/builtin/vector.lua index 2fd926a..95e1ebd 100644 --- a/builtin/vector.lua +++ b/builtin/vector.lua @@ -1,7 +1,7 @@ --[[ builtin/vector.lua ]]-- local function wrap(op, body_wrapper, ...) - return load("return function(a, b) " .. body_wrapper(op, ...) .. "end")() + return loadstring("return function(a, b) " .. body_wrapper(op, ...) .. "end")() end local function arith_mt(...) |