From ea71daa57d5c153aeb09159acd1e32ca791006e0 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 5 Feb 2022 22:21:09 +0100 Subject: builtins: small bugfixes --- alv/base/op.moon | 1 + 1 file changed, 1 insertion(+) (limited to 'alv/base') diff --git a/alv/base/op.moon b/alv/base/op.moon index a6b0947..bda30f5 100644 --- a/alv/base/op.moon +++ b/alv/base/op.moon @@ -170,6 +170,7 @@ class Op -- @tparam Type type -- @tparam[opt] any val initial value setup_out: (metatype, type, val) => + metatype = '~' if metatype == '=' if @out and @out.type == type and @out.metatype == metatype -- we can just keep it. do nothing. return false -- cgit v1.2.3