diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/object.nom | 2 | ||||
| -rw-r--r-- | lib/os.nom | 2 |
2 files changed, 2 insertions, 2 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) @@ -32,7 +32,7 @@ compile [for file %f in %path %body] to (..) compile [%expr for file %f in %path] to (..) Lua value ".." (function() - local ret = list{} + local ret = _List{} for i,\(%f as lua expr) in Files.walk(\(%path as lua expr)) do ret[#ret+1] = \(%expr as lua statements) end |
