Why does Lua prohibit goto over a local var definition?
snippet in lua

Why does Lua prohibit goto over a local var definition?

user5402

while true do
  if someCond == nil then
      goto f
  end

  do
      local x = 1
       -- do something with x
  end -- x is now gone
  ::f::
end