diff options
Diffstat (limited to 'testes/gc.lua')
-rw-r--r-- | testes/gc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/gc.lua b/testes/gc.lua index bb4e3493..91915c0b 100644 --- a/testes/gc.lua +++ b/testes/gc.lua | |||
@@ -640,7 +640,7 @@ do | |||
640 | assert(getmetatable(o) == tt) | 640 | assert(getmetatable(o) == tt) |
641 | -- create new objects during GC | 641 | -- create new objects during GC |
642 | local a = 'xuxu'..(10+3)..'joao', {} | 642 | local a = 'xuxu'..(10+3)..'joao', {} |
643 | ___Glob = o -- ressurect object! | 643 | ___Glob = o -- ressurrect object! |
644 | setmetatable({}, tt) -- creates a new one with same metatable | 644 | setmetatable({}, tt) -- creates a new one with same metatable |
645 | print(">>> closing state " .. "<<<\n") | 645 | print(">>> closing state " .. "<<<\n") |
646 | end | 646 | end |