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