TEST [[ function () end = 1 ]] TEST [[ local function () end = 1 ]] TEST [[ local x local function () = 1 end ]] TEST [[ local function x() end = 1 ]]