19f129e946
This uses the previously added `%ignore=` syntax to enable validation of the diagnostic documentation for several diagnostics that were previously not being validated. In the process I also cleaned up a few of the code snippets used in those docs in order to minimize the number of ignored diagnostics. I removed the newly validated diagnostics from the list in the validator, and improved the comments for the ones that are still being ignored to show why they're ignored and point to some possible future remediations that would allow them to also be validated. Change-Id: I46b0eeaab86740ba82784987e84f3e93046d39f0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/494941 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.