Skip to content

The "(at)" symbols gets eaten inconsistently in syntax tree view #1354

Description

@grayed

The commercial at ('@') symbol, that can be used in symbol names, sometimes gets eaten when displaying the syntax tree, and sometimes not. The difference, as far as I can see, is related to whether the Identifier value is displayed on a single line (when there is no whitespace trivia) or not (when there is some whitespace). See an example:

public class C {
    int x;
    int X {
        get => @x;
        set => @x = value;
    }
}

Here the Identifier value in getter is displayed as @x, but in setter it's just x. See also the picture below:
С собакой и без cut

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions