fceae8524d
This is similar to the analyzer backend's optimization for fields, but it also supports private methods and accessors. Also fixes #34769, checks were missing for explicit covariant fields and those are now generated (this is for fields of the form `covariant SomeType fieldName`--implicitly covariant fields in generic classes were already checked correctly). Change-Id: I5ce3ed7944bdc5a9799c731c5f95e199b461b079 Reviewed-on: https://dart-review.googlesource.com/c/79432 Commit-Queue: Jenny Messerly <jmesserly@google.com> Commit-Queue: Alan Knight <alanknight@google.com> Auto-Submit: Jenny Messerly <jmesserly@google.com> Reviewed-by: Alan Knight <alanknight@google.com>