Files
sdk/tests/language/patterns
Johnni Winther 4f8af89290 [cfe] Remove the need for TypeInferrer.constantContext
This changes the body builder to create an InvalidExpression for new expressions in constant contexts, thus avoiding the need to handle this case in the inference, avoiding the need for passing constantContext to the inferrer.

Change-Id: Ia8d5b3a6462e7a1570a092d5808bf262345b424b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451021
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2025-09-24 01:18:32 -07:00
..
2025-02-11 15:31:25 -08:00
2025-02-11 15:31:25 -08:00