aboutsummaryrefslogtreecommitdiff
path: root/lib/object.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-10 16:33:37 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-10 16:35:08 -0800
commit0f0fb2256a46a8808794d7d4746d112278da3730 (patch)
tree7cfb6b255beeb49705044876913e0332376b66d9 /lib/object.nom
parentdb552f56dc1f2c6ea19a7d39d38ac66e52ed156e (diff)
Major overhaul of how modules and environments work, along with some
steamlining and tweaks to the makefile. Version bump: 6.14.13.8
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 13a9ec5..a3a8d93 100644
--- a/lib/object.nom
+++ b/lib/object.nom
@@ -108,7 +108,7 @@ test:
return inst
end,
})
- _ENV[class.name:as_lua_id()] = class
+ \(nomsu environment name)[class.name:as_lua_id()] = class
class.__index = class
class.class = class
class.__tostring = function(inst)