aboutsummaryrefslogtreecommitdiff
path: root/testes/errors.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/errors.lua')
-rw-r--r--testes/errors.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/testes/errors.lua b/testes/errors.lua
index 80d91a92..15401b4f 100644
--- a/testes/errors.lua
+++ b/testes/errors.lua
@@ -137,6 +137,10 @@ checkmessage("aaa=(1)..{}", "a table value")
137-- bug in 5.4.6 137-- bug in 5.4.6
138checkmessage("a = {_ENV = {}}; print(a._ENV.x + 1)", "field 'x'") 138checkmessage("a = {_ENV = {}}; print(a._ENV.x + 1)", "field 'x'")
139 139
140-- a similar bug in 5.4.7, since 5.4.0
141checkmessage("print(('_ENV').x + 1)", "field 'x'")
142
143
140_G.aaa, _G.bbbb = nil 144_G.aaa, _G.bbbb = nil
141 145
142-- calls 146-- calls