From 1e11c0cfee0d5febfa6fc9aa96a389374af3a670 Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 5 Aug 2025 03:22:59 +0200 Subject: lib/glsl-view: add freeze and step! --- alv/type.moon | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alv') diff --git a/alv/type.moon b/alv/type.moon index 2e392d8..d3af642 100644 --- a/alv/type.moon +++ b/alv/type.moon @@ -30,6 +30,8 @@ local Primitive -- -- @table T T = setmetatable {}, __index: (key) => + return key if key.__class + with type = Primitive key rawset @, key, type -- cgit v1.2.3