From a35d010dfe2b2769cf13ae508952c279aecb3aac Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 6 Sep 2018 12:46:39 -0700 Subject: Removed the mandatory "_" prefix for Nomsu variables, renamed "list" and "dict" to "List" and "Dict", or in Nomsu's environment, "_List" and "_Dict", removed uuid.lua and replaced it with core/id.nom for handling IDs. --- lib/object.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/object.nom') diff --git a/lib/object.nom b/lib/object.nom index 8d59190..81632c2 100644 --- a/lib/object.nom +++ b/lib/object.nom @@ -90,7 +90,7 @@ compile [object %classname extends %parent %class_body] to: class.__index = class class.class = class class.__tostring = function(inst) - return inst.name..getmetatable(dict{}).__tostring(inst) + return inst.name..getmetatable(_Dict{}).__tostring(inst) end \(%class_body as lua statements) -- cgit v1.2.3