Files
sdk/tests/language
Lasse R.H. Nielsen db30a5f670 Add error tests for enhanced enums.
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>
2022-02-19 10:47:33 +00:00
..
2022-02-19 10:47:33 +00:00
2020-05-15 16:00:12 +00:00
2020-05-29 23:48:57 +00:00
2020-06-08 23:16:55 +00:00
2020-06-09 16:31:44 +00:00
2020-06-18 22:54:13 +00:00
2021-09-15 06:22:23 +00:00