From c0ab54600e29a2b8ba318df8c9b76e89897db7fe Mon Sep 17 00:00:00 2001 From: s-ol Date: Mon, 10 Feb 2020 15:52:20 +0100 Subject: finally implement function diffing --- core/const.moon | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/const.moon') diff --git a/core/const.moon b/core/const.moon index 564ab53..e1d19d9 100644 --- a/core/const.moon +++ b/core/const.moon @@ -53,6 +53,8 @@ class Const stringify: => @raw + clone: (prefix) => Const @type, @value, @raw + -- static __tostring: => value = if @type == 'opdef' or @type == 'builtin' then @value.__name else @value -- cgit v1.2.3