Commit 07e2921
[ddc] Cleanup false assumption from subtype check
FutureOr<A> <: FutureOr<B> iff A <: B was proven to not always be true.
Changing this to simply an optimization and no longer "if and only if".
Change-Id: I46f228933df65a86c2c525a48f11b18397b7c48c
Fixes: #38818
Fixes: #42326
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151325
Reviewed-by: Mark Zhou <[email protected]>
Commit-Queue: Nicholas Shahan <[email protected]>1 parent 62893f9 commit 07e2921
File tree
2 files changed
+8
-8
lines changed- sdk_nnbd/lib/_internal/js_dev_runtime/private/ddc_runtime
- sdk/lib/_internal/js_dev_runtime/private/ddc_runtime
2 files changed
+8
-8
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1415 | 1415 | | |
1416 | 1416 | | |
1417 | 1417 | | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
| |||
0 commit comments