Skip to content

Leading whitespaces after indentation are not parsed correctly #1016

Open

Description

When parsing the string:

"
    foo
"

two of the white-spaces should be flagged as trailing white-space and two should remain with the string. Currently, both are marked as being trailing white-space.

The same error occurs when parsing

  foo
    bar

Here all four white-spaces in front of bar are marked as trailing, while only two of them should be.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions