Closed cloudshiftchris closed 2 weeks ago
builds failing due to unrelated commit 520706e
/ @strulovich / @hick209 that came along with the fork - looks like some dependency-hell between the IJ plugin depending on a stable version of ktfmt yet was updated to use new code that exists along-side it but is not yet in a published stable version.
Once that is addressed it can be merged in here.
@hick209 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Yeah, I was actually the one that broke the tests and I have an internal diff that should fix that, don't worry about it. Thanks for your contributions :)
@hick209 merged this pull request in facebook/ktfmt@587a23216e4c89c60ab8b4ba6097f4171b3dd887.
Fixes #411.
Gradle added support for a Kotlin assignment operator to simplify property assignment.
This is done via a compiler plugin and this import:
import org.gradle.kotlin.dsl.assign
- which ktfmt detects as unused and removes.This PR adds an
assign
operator to the operators incom.facebook.ktfmt.format.RedundantImportDetector
and a corresponding test to ensure the import remains.