aboutsummaryrefslogtreecommitdiffstats
path: root/alv/copilot
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-09-01 13:24:37 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit9d8b68190d36744a8d9f61730a05b1d1e7181edf (patch)
tree9bf5d6f02ba3ef49afded57030b5aee0a4bfb966 /alv/copilot
parentupdate scm rockspec (diff)
downloadalive-9d8b68190d36744a8d9f61730a05b1d1e7181edf.tar.gz
alive-9d8b68190d36744a8d9f61730a05b1d1e7181edf.zip
support :vis() on builtins
Diffstat (limited to 'alv/copilot')
-rw-r--r--alv/copilot/udp.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/alv/copilot/udp.moon b/alv/copilot/udp.moon
index 0640189..f5deb50 100644
--- a/alv/copilot/udp.moon
+++ b/alv/copilot/udp.moon
@@ -49,7 +49,7 @@ class UDPServer
if builtin and builtin.__class.__name ~= 'DummyReg'
res.head_meta = builtin.head.meta
res.result = encode_res builtin.node.result
- res.vis = if builtin.op then builtin.op\vis!
+ res.vis = builtin\vis!
res.kind = switch builtin.__class
when op_invoke then 'op'
when fn_invoke then 'fn'