94be2fc1f8
This change adjusts the organize imports logic, to keep any comments written in the line above an import statement attached when organizing the imports, while being smart about what comments to keep. Closes https://github.com/dart-lang/sdk/issues/42515 Change-Id: Ibcca4f24411ac16bcdb17f66fb6d2b9c45f7d367 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157743 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>