988642a94e
These were added during the Dart 2 test migration as a way to indicate why a test was expected to fail. But, like negative tests, they have very poorly granularity. Static error tests are strictly superior. The co19 tests have been migrated off of these markers for a couple of years, so our own language tests were the only holdouts. I see no uses of "@syntax-error", "@runtime-error", or "@static-warning". I have now migrated all of the tests that contained "@compile-error" to be proper static error tests. This simplifies the test runner and makes our tests more precise. Fix #45634. Change-Id: I0f46d110b6f322d98187e734195ecba7524574af Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296720 Commit-Queue: Bob Nystrom <rnystrom@google.com> Reviewed-by: William Hesse <whesse@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com>