commit | 0bc0954b8d5d3c1565bd01d59b3626dc8cf4c4b2 | [log] [tgz] |
---|---|---|
author | Nicholas Shahan <nshahan@google.com> | Thu Jun 22 20:12:28 2023 +0000 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Jun 22 13:13:34 2023 -0700 |
tree | 7ee792a98089667a3d78ad6c3ff18bc8f94ff06c | |
parent | e09bfdfeeca0002db17eeeefaf7fcdad60f10789 [diff] |
[ddc] Handle `undefined` as `null` in switch Add a case for `undefined` whenever a case expression is a null constant. Issue: https://github.com/dart-lang/sdk/issues/51527 Change-Id: I6e9946b588e293bcf0b953d568495c8be95f3749 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310775 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Stephen Adams <sra@google.com> https://dart.googlesource.com/sdk/+/cc5b77a71045302005743d5ae871974dcc679423