Skip to content

Indentation for large code blocks #5

@yuyichao

Description

@yuyichao

There's currently a limit of lines/statement per code blocks that can be indented correctly. It is a pretty large limit but can be seen when indenting a large function (e.g. some in inference.jl).

Reproduce with

function f()
    g = begin
        function ()
            return begin
                1
            end
        end
    end
    # repeat the `g =` block above ~150 times.
end

Ref JuliaLang/julia#9831 (the original issue of arguments/list is already fixed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions