Commit 7dc5a42
[analyzer] Change substitute methods to return
The following methods are changed so that they return `TypeImpl`
rather than `DartType`:
- `FreshTypeParameters.substitute`
- `Substitution.substituteType`
- `_NullSubstitution.substituteType`
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: Iaf4959cd7f6428d1dbe1b15089f7e2a30eff3495
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405080
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>TypeImpl.1 parent b069a13 commit 7dc5a42
File tree
2 files changed
+8
-7
lines changed- pkg/analyzer/lib/src/dart/element
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11001 | 11001 | | |
11002 | 11002 | | |
11003 | 11003 | | |
11004 | | - | |
| 11004 | + | |
11005 | 11005 | | |
11006 | 11006 | | |
11007 | 11007 | | |
| |||
11032 | 11032 | | |
11033 | 11033 | | |
11034 | 11034 | | |
11035 | | - | |
| 11035 | + | |
11036 | 11036 | | |
11037 | 11037 | | |
11038 | 11038 | | |
| |||
11042 | 11042 | | |
11043 | 11043 | | |
11044 | 11044 | | |
11045 | | - | |
| 11045 | + | |
11046 | 11046 | | |
11047 | 11047 | | |
11048 | 11048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| |||
0 commit comments