Commit 09782c8
Resolve for typedefs/aliases and records in typeArguments & resolve duplicate typedefs
#776
Closes: #775
Closes: #777
Closes: #778
The fix for these issues is closely related so I've done both of them in a single PR.
- Mockito wasn't checking for typedefs/aliases in `typeArguments`
- it also wasn't looking into records on type args.
- Typedefs which had the same underlying type were ignored even if the typedef had a different name
These issues cause the dreaded `is missing from the asset URI mapping` error.
See the related issue for a repro of each of these.
I've also added regression tests for all of these.
PiperOrigin-RevId: 7027124351 parent dbc9302 commit 09782c8
2 files changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3589 | 3589 | | |
3590 | 3590 | | |
3591 | 3591 | | |
3592 | | - | |
3593 | 3592 | | |
3594 | 3593 | | |
3595 | 3594 | | |
3596 | 3595 | | |
3597 | | - | |
3598 | 3596 | | |
3599 | 3597 | | |
3600 | 3598 | | |
3601 | 3599 | | |
3602 | 3600 | | |
3603 | 3601 | | |
3604 | 3602 | | |
3605 | | - | |
3606 | 3603 | | |
3607 | 3604 | | |
3608 | 3605 | | |
| |||
3631 | 3628 | | |
3632 | 3629 | | |
3633 | 3630 | | |
3634 | | - | |
3635 | 3631 | | |
3636 | 3632 | | |
3637 | 3633 | | |
| |||
0 commit comments