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 NPE if or operator at start of line followed by dot qualified expression #1994

Merged
merged 1 commit into from
May 5, 2023

Conversation

paul-dingemans
Copy link
Collaborator

Description

Prevent nullpointer exception (NPE) if or operator at start of line is followed by dot qualified expression

Closes #1993

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

@paul-dingemans paul-dingemans added this to the 0.49.1 milestone May 5, 2023
@paul-dingemans paul-dingemans merged commit 33a888f into master May 5, 2023
@paul-dingemans paul-dingemans deleted the 1993-fix-npe-indent branch May 5, 2023 20:48
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.

Starting a line with || causes internal error from ktlint --format
1 participant