Skip to content

Expression body indent wrong #1300

Open
@JakeWharton

Description

Today:

  public override val descriptor: SerialDescriptor = buildString {
      }
  public override val descriptor: SerialDescriptor =
      buildClassSerialDescriptor("RowVerticalAlignment") {
      }

Should be:

  public override val descriptor: SerialDescriptor = buildString {
  }
  public override val descriptor: SerialDescriptor =
    buildClassSerialDescriptor("RowVerticalAlignment") {
    }

We need to remove the function indent when it collapses so that wraps are +2 and begin/end control flows can have their curly's flush with the function's visibility modifier indent level.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions