diff options
Diffstat (limited to 'testes/goto.lua')
-rw-r--r-- | testes/goto.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/goto.lua b/testes/goto.lua index c9e48073..4ac6d7d0 100644 --- a/testes/goto.lua +++ b/testes/goto.lua | |||
@@ -258,7 +258,7 @@ do | |||
258 | ::L2:: goto L3 | 258 | ::L2:: goto L3 |
259 | 259 | ||
260 | ::L1:: do | 260 | ::L1:: do |
261 | local <toclose> a = setmetatable({}, {__close = function () X = true end}) | 261 | local a <close> = setmetatable({}, {__close = function () X = true end}) |
262 | assert(X == nil) | 262 | assert(X == nil) |
263 | if a then goto L2 end -- jumping back out of scope of 'a' | 263 | if a then goto L2 end -- jumping back out of scope of 'a' |
264 | end | 264 | end |