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

Allow unreferenced provideDelegate if there is a by keyword in the file #513

Merged
merged 2 commits into from
Jul 10, 2019

Conversation

shashachu
Copy link
Contributor

Fixes #506

ref.clear() // rule can potentially be executed more than once (when formatting)
ref.add("*")
imports.clear()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an unrelated change, but based on the comment on Line 78, it seems necessary.

@shashachu shashachu merged commit b997561 into pinterest:master Jul 10, 2019
sowmyav24 pushed a commit to sowmyav24/ktlint that referenced this pull request Jul 18, 2019
…le (pinterest#513)

* Allow unreferenced provideDelegate if there is a by keyword in the file

Fixes pinterest#506

* fix test
@shashachu shashachu deleted the provide-delegate branch August 2, 2019 22:16
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.

False positive from UnusedImports on org.gradle.kotlin.dsl.provideDelegate
1 participant