93725adc6e
Work towards https://github.com/dart-lang/sdk/issues/60504 * The annotation causes certain usage to generate a warning (+ tests). * Possible fixes for this new warning are offered (+ tests). * Placing the annotation on an invalid element generates a different warning (+ tests). Change-Id: Icbb956e88ed4325f96fbe54b7eea7fcc18a4ab57 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443901 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>