db30a5f670
The tests check that expected errors actually happen. There might be *too many* error markers in the tests, since it's not clear *where* an error is reported. Is a naming conflict reported for one or both conflicting declarations? Is a conflict reported on the class declaration or on a conflicting declaration? The front-ends might need to remove themselves from some of the errors, when the error reporting strategy is decided, but they should report at least *one* error for each problem. Also fixed bugs in the non-error `enhanced_enum_basic_test.dart` file. Change-Id: I673244d1d5a8803e5b49d53150a2b3ab47522c89 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231950 Reviewed-by: Erik Ernst <eernst@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>