diff options
Diffstat (limited to 'alv')
| -rw-r--r-- | alv/type.moon | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
