Skip to content

Fix single-line comment indentation after multi-token values in expression #274

Description

@jgardn3r

After expressions, single-line comments are formatted incorrectly.

Expected:

A :=
    B.C
        //
        + D;

Actual

A :=
    B.C
            //
        + D;

This issue must be related to the fact B.C is not a single token because the following is formatted correctly.

A :=
    B
        //
        + D;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions