907f31e6de
Reland the change to build some annotations during outlining, with a bug fix. Annotations from patch classes and procedures were not applied to the actual class or procedure, which is fixed. The original commit was reviewed at https://dart-review.googlesource.com/c/sdk/+/103806 The revert was reviewed at https://dart-review.googlesource.com/c/sdk/+/104220 The original commit message was: During the outline phase, after top-level type inference, compile annotations for libraries, classes, fields, procedures, and constructors. Change-Id: I836160ddad4114ded72701e8a3938f703228931c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104560 Commit-Queue: Kevin Millikin <kmillikin@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>