aboutsummaryrefslogtreecommitdiff
path: root/lib/object.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-09-06 12:46:39 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-09-06 12:48:16 -0700
commita35d010dfe2b2769cf13ae508952c279aecb3aac (patch)
tree69ce1fcd0123832599d2766d361a8a8b43fcfb4b /lib/object.nom
parente1bc075bb5319b3903f66e141810dcb9ef53042e (diff)
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.
Diffstat (limited to 'lib/object.nom')
-rw-r--r--lib/object.nom2
1 files changed, 1 insertions, 1 deletions
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)