dart-sdk/tests/language/malformed
Robert Nystrom 924b9f55ba Migrate "l" and "m" directory language tests off @compile-error.
The "@compile-error" comment is an old not-great way of defining static
error tests.

Also fix a test to use a mixin declaration instead of a class for declaring a mixin. This was
broken by class modifiers but the breakage was masked by @compile-error treating a test as
passing if any compile error, even an unrelated one, is reported.

See: https://github.com/dart-lang/sdk/issues/45634
Change-Id: I5d1d387002d886cb87340e2559bf8ed01c3f2d6a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296409
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2023-04-20 17:51:42 +00:00
..
bound_test.dart
inheritance_runtime_test.dart
inheritance_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
malformed2_lib.dart [3.0 alpha][test] Remove use of NullThrownError 2022-12-15 23:33:18 +00:00
malformed2_test.dart
malformed_test.dart
runtime_test.dart
type_test.dart Migrate "l" and "m" directory language tests off @compile-error. 2023-04-20 17:51:42 +00:00