45c7e4365c
This CL updates dartfix to make the recommended changes after prompting the user to confirm that these changes should be made. If the source contains errors that might affect the correctness of the automatically applied fixes, then a warning is issued before prompting the user. This CL also addresses comments in https://dart-review.googlesource.com/c/sdk/+/77020 Change-Id: Ie609247616dd033aa16af8d7e6e38a9eb4cbf0d0 Reviewed-on: https://dart-review.googlesource.com/77021 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>