Skip to content

Parser swallows leading whitespace after indented placeable #286

Open
@RumovZ

Description

@RumovZ

In this fixture, the leading whitespace in front of "four" is preserved as expected:

key12 =
{ "." }
    four

However, with normalized indentation, it is not:

key12 =
    { "." }
        four

This is wrongly parsed to the same AST as this:

key12 =
    { "." }
    four

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueWant to help? Those are great bugs to start with!help wantedWe need help making decisions or writing PRs for this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions