Commit 1c91d21
committed
[tests] Enum Shorthands - == and selector chain tests.
Similar format of tests to https://dart-review.googlesource.com/c/sdk/+/401980 and the other `==` and `!=` tests.
Making sure that equality with shorthand selector chains is allowed when the shorthand is on the RHS. Errors are produced when the shorthand is on the LHS, doesn't have the proper context, or has the context type of `Object`.
Bug: #57038
Change-Id: I905793b400a6f8b3c6bd068f70654dbbeec38557
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403965
Reviewed-by: Erik Ernst <[email protected]>1 parent b528b6e commit 1c91d21
File tree
2 files changed
+471
-0
lines changed- tests/language/enum_shorthands/equality
2 files changed
+471
-0
lines changed
0 commit comments