9de396953f
This may seem to be a silly change, adding these lists only for the error fix status file, but I claim this is a very pragmatic solution: * It is important and beneficial to correctly track error fix statuses; I was recently confused about these fix statuses because the text in the fix status file was a lie. * When fixes are added for more errors, you cannot forget to update the codesWithFixes list because the fix won't apply (and no test asserting the fix works would pass). * Overhauling these FixGenerators to use maps like the others is maybe a good change in the long run, but at this point might be over-engineering; we only have fixes for 2-3 codes for each file type. Change-Id: Iaa902acf2401f97ff722e222910f5d6fcd00a5ce Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338800 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com> Auto-Submit: Samuel Rawlins <srawlins@google.com>