-- base
local t = function()
    local a = 131
    local b = function()
        local c = {
            d = function()
                local e = 13
                local f = print {
                    {
                        {
                            {
                                {
                                    {
                                        (function(a1, a2, a3, a4, a5, a6)
                                            return {
                                                [function()
                                                    aaa, bbb, ccc = 1, 2, 3

                                                    return aa, bb, cc, dd, ee
                                                end] = {
                                                    gggg
                                                }
                                            }
                                        end)(1, 2, 3, 4, 5, 6)
                                    }
                                }
                            }
                        }
                    }
                }
            end
        }
    end
end
function ff()
    if aaa and bbbb then
        function dddd(aaa,
                      bbbb, cccc, ddd)
        end
    end
end

-- translate tab to space
pcall {
    function()
        local t = 13
    end,
    a, b, c,
}

function fff()
    do
        return
    end

    while true do
        local c = function()
            for i = 1, 2, 3 do
                print(i)
            end

            for i, v in pairs { 1, 2, 3, 4, 5, 6 } do
                print(i, v)
            end
        end
    end

    if a then
    elseif b then
        local d = 123
    else
        local c = 123
    end
end
