27ed75b7bc
Adds logic to the `RemoveTypeName` correction producer to ensure that after the correction is applied, the spacing matches what `dart format` would do. For example, `C()` is changed to `new()` rather than `new ()`, and `factory C()` is changed to `factory()` rather than `factory ()`. This will make it easier for me to visually inspect intermediate results when transitioning the SDK and google3 to language version 3.13. It also should provide a (marginally) nicer user experience. Change-Id: I30babde38e58438ea39279ed0d5859ce6a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/500880 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>