Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression bug caused by #1340 #1513

Conversation

paul-dingemans
Copy link
Collaborator

Description

A delegate property which starts on the same line as the property declaration should not have an extra indentation. This fixes a regression bug introduced by the fix of #1340.

Closes #1510

Checklist

  • PR description added
  • tests are added
  • CHANGELOG.md is updated

In case of adding a new rule:

  • README.md is updated
  • Rule has been applied on Ktlint itself and violations are fixed

…laration should not have an extra indentation. This fixes a regression bug introduced by the fix of pinterest#1340.

Closes pinterest#1510
@paul-dingemans paul-dingemans merged commit ba8c040 into pinterest:master Jun 21, 2022
@paul-dingemans paul-dingemans deleted the 1510-fix-regression-property-delegate branch June 21, 2022 18:37
@paul-dingemans paul-dingemans added this to the 0.46.1 milestone Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ident behavior change when upgrading to 0.46.0
1 participant