Commit f3f47f4
analyzer: mock SDK: correct collection declarations in core library
* Iterable is a mixin class.
* List is abstract, and because of that, we can remove the stub
implementations of various methods.
* `List.empty` is not annotated with `@Since`.
* `Map.from` has a parameter.
Change-Id: Iab10cea2845c5be52588ff25c30ba925c3c0caa5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450945
Commit-Queue: Samuel Rawlins <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>1 parent d3281b4 commit f3f47f4
File tree
2 files changed
+19
-23
lines changed- pkg/analyzer
- lib/src/test_utilities
- test/src/dart/resolution/type_inference
2 files changed
+19
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | 493 | | |
496 | | - | |
497 | 494 | | |
498 | 495 | | |
499 | 496 | | |
| |||
502 | 499 | | |
503 | 500 | | |
504 | 501 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
513 | 510 | | |
514 | 511 | | |
515 | | - | |
516 | 512 | | |
517 | | - | |
| 513 | + | |
518 | 514 | | |
519 | 515 | | |
520 | 516 | | |
521 | 517 | | |
522 | | - | |
| 518 | + | |
523 | 519 | | |
524 | 520 | | |
525 | 521 | | |
526 | 522 | | |
527 | 523 | | |
528 | | - | |
| 524 | + | |
529 | 525 | | |
530 | 526 | | |
531 | 527 | | |
532 | 528 | | |
533 | 529 | | |
534 | 530 | | |
535 | 531 | | |
536 | | - | |
| 532 | + | |
537 | 533 | | |
538 | 534 | | |
539 | 535 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
0 commit comments