Commit f61ecec
[analyzer] Change return type of some TypeSystemImpl methods.
The following methods of `TypeSystemImpl` have their return type
changed from `DartType` to `TypeImpl`:
- `flatten`
- `greatestClosureOfSchema`
- `leastClosureOfSchema`
- `resolveToBound`
This is part of a larger arc of work to change the analyzer's use of
the shared code so that the type parameters it supplies are not part
of the analyzer public API. See
#59763.
Change-Id: I9cf82a644b944f18bae9435ba68c896d45723281
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405062
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent 54981a4 commit f61ecec
File tree
4 files changed
+26
-15
lines changed- pkg/analyzer/lib/src
- dart
- element
- resolver
- generated
4 files changed
+26
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
405 | 407 | | |
406 | 408 | | |
407 | 409 | | |
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
411 | | - | |
412 | | - | |
| 413 | + | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
629 | 631 | | |
630 | 632 | | |
631 | 633 | | |
632 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
637 | 641 | | |
638 | | - | |
| 642 | + | |
639 | 643 | | |
640 | 644 | | |
641 | 645 | | |
| |||
1413 | 1417 | | |
1414 | 1418 | | |
1415 | 1419 | | |
1416 | | - | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1417 | 1423 | | |
1418 | 1424 | | |
1419 | 1425 | | |
1420 | 1426 | | |
1421 | 1427 | | |
1422 | | - | |
| 1428 | + | |
1423 | 1429 | | |
1424 | 1430 | | |
1425 | 1431 | | |
| |||
1717 | 1723 | | |
1718 | 1724 | | |
1719 | 1725 | | |
1720 | | - | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
1721 | 1730 | | |
1722 | 1731 | | |
1723 | 1732 | | |
| |||
1729 | 1738 | | |
1730 | 1739 | | |
1731 | 1740 | | |
1732 | | - | |
| 1741 | + | |
1733 | 1742 | | |
1734 | 1743 | | |
1735 | 1744 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
196 | | - | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | | - | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
1216 | | - | |
| 1216 | + | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | 1219 | | |
| |||
0 commit comments