diff options
Diffstat (limited to 'testes/api.lua')
| -rw-r--r-- | testes/api.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testes/api.lua b/testes/api.lua index 08672e8a..bcc04dac 100644 --- a/testes/api.lua +++ b/testes/api.lua | |||
| @@ -1137,7 +1137,8 @@ end) | |||
| 1137 | testamem("to-be-closed variables", function() | 1137 | testamem("to-be-closed variables", function() |
| 1138 | local flag | 1138 | local flag |
| 1139 | do | 1139 | do |
| 1140 | local *toclose x = setmetatable({}, {__close = function () flag = true end}) | 1140 | local <toclose> x = |
| 1141 | setmetatable({}, {__close = function () flag = true end}) | ||
| 1141 | flag = false | 1142 | flag = false |
| 1142 | local x = {} | 1143 | local x = {} |
| 1143 | end | 1144 | end |
