0083afa5d5
Previously NullAwareEntry set the hasEntry property to false, which meant that it relied on a nested entry element to handle the rest of its contents. However, according to the grammar for null-aware elements (see https://github.com/dart-lang/language/blob/main/accepted/future-releases/0323-null-aware-elements/feature-specification.md#syntax), null-aware elements and entries are leaf nodes and can only contain expressions. This CL also fixes some crashes in the CFE that expects the map entries appearing in lists to be handled by the parser. Change-Id: I3d7a3f3e8507a2ef8a290e51b49e4749260dfcda Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389900 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>