Make sure type def tags are initialized to empty if nil

This commit is contained in:
raymoo 2016-01-28 22:15:27 -08:00
parent eaf19a7055
commit db98b69703

View File

@ -356,6 +356,7 @@ end
monoidal_effects.register_type = function(name, def)
def.tags = def.tags or {}
types[name] = def
end