aboutsummaryrefslogtreecommitdiffstats
path: root/alv/result
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-08-19 14:45:31 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit2bc0fe723d0f5cf2be5d84545b823dec0dbfb52b (patch)
treeba0ff0449d9f56b53e55b9d4b9ae2b68662d5073 /alv/result
parentadd (failing) struct spec (diff)
downloadalive-2bc0fe723d0f5cf2be5d84545b823dec0dbfb52b.tar.gz
alive-2bc0fe723d0f5cf2be5d84545b823dec0dbfb52b.zip
implement (set) as per spec
Diffstat (limited to 'alv/result')
-rw-r--r--alv/result/const.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/alv/result/const.moon b/alv/result/const.moon
index 9e24ab1..ecd386d 100644
--- a/alv/result/const.moon
+++ b/alv/result/const.moon
@@ -45,7 +45,7 @@ class Constant extends Result
--- compare two values.
--
-- Compares two `SigStream`s by comparing their types and their Lua values.
- __eq: (other) => other.type == @type and other.value == @value
+ __eq: (other) => other.type == @type and @type\eq other.value, @value
--- Result metatype.
-- @tfield string metatype (`=`)