New failing test case involving do/end blocks and upvalues.

This commit is contained in:
Ian Farmer
2008-02-07 18:56:17 +00:00
parent 1eb969f84d
commit cb6ce20dde
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
local f
do
local x = 10
function g()
print(x, f())
end
end
function f()
return 20
end
g()