Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
LGTM, noting that it might be useful to add some test cases where the null-aware operator actually makes a difference.
main() {
I don't know if this would add any actual coverage, but it seems natural to expect that `?e` will encounter null and omit the insertion of an element/pair into the given data structure. Currently it's all non-null.
main() {
Some consideration here: Perhaps add cases where `?e` has an `e` that evaluates to null?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for taking a look and for the suggestions, Johnni and Erik!
I don't know if this would add any actual coverage, but it seems natural to expect that `?e` will encounter null and omit the insertion of an element/pair into the given data structure. Currently it's all non-null.
Thank you for the suggestion, Erik! I added test cases, where the expressions marked with `?` actually return `null`.
Some consideration here: Perhaps add cases where `?e` has an `e` that evaluates to null?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: pkg/front_end/testcases/null_aware_elements/evaluation_order.dart.strong.expect
Insertions: 103, Deletions: 42.
The diff is too large to show. Please review the diff.
```
```
The name of the file: pkg/front_end/testcases/null_aware_elements/evaluation_order.dart.strong.transformed.expect
Insertions: 103, Deletions: 42.
The diff is too large to show. Please review the diff.
```
```
The name of the file: tests/language/null_aware_elements/evaluation_order_test.dart
Insertions: 26, Deletions: 3.
The diff is too large to show. Please review the diff.
```
```
The name of the file: pkg/front_end/testcases/null_aware_elements/evaluation_order.dart
Insertions: 26, Deletions: 3.
The diff is too large to show. Please review the diff.
```
```
The name of the file: pkg/front_end/testcases/null_aware_elements/evaluation_order.dart.strong.modular.expect
Insertions: 103, Deletions: 42.
The diff is too large to show. Please review the diff.
```
[cfe] Repair the evaluation order in null-aware map entries
Closes https://github.com/dart-lang/sdk/issues/56848
Part of https://github.com/dart-lang/sdk/issues/55955
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |