Commit 475a6fa
[model] Remove 'topType' parameter from solveTypeConstraint
The parameter is a remnant of the support for non-Null Safe code. The
removal of the parameter is a step towards the unification between
TypeSchemaEnvironment.solveTypeConstraint in the CFE and
GenericInferrer._chooseTypeFromConstraint in the Analyzer.
Part of #54902
Change-Id: Ie7efe25591eaff5cdd34c4fffdcd772f94040c28
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/422721
Reviewed-by: Paul Berry <[email protected]>
Commit-Queue: Chloe Stefantsova <[email protected]>1 parent 3464724 commit 475a6fa
File tree
2 files changed
+7
-13
lines changed- pkg/front_end
- lib/src/type_inference
- test/type_inference
2 files changed
+7
-13
lines changedLines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
| 347 | + | |
350 | 348 | | |
351 | 349 | | |
352 | 350 | | |
| |||
366 | 364 | | |
367 | 365 | | |
368 | 366 | | |
369 | | - | |
| 367 | + | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
390 | | - | |
| 388 | + | |
391 | 389 | | |
392 | 390 | | |
393 | 391 | | |
| |||
494 | 492 | | |
495 | 493 | | |
496 | 494 | | |
497 | | - | |
498 | | - | |
499 | | - | |
| 495 | + | |
500 | 496 | | |
501 | 497 | | |
502 | 498 | | |
| |||
517 | 513 | | |
518 | 514 | | |
519 | 515 | | |
520 | | - | |
521 | | - | |
| 516 | + | |
522 | 517 | | |
523 | 518 | | |
524 | 519 | | |
| |||
553 | 548 | | |
554 | 549 | | |
555 | 550 | | |
556 | | - | |
557 | | - | |
| 551 | + | |
558 | 552 | | |
559 | 553 | | |
560 | 554 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments