Commit d07dcfa
Use only canonical elements when resolving unresolved refs in comments (#1329)
If we don't do that, dartdoc will think there's ambiguity if several
libs export the same elements (like in Flutter, e.g. `widgets` exports
`Flexible` and `material` exports `Flexible`). And we won't get links
for these references and will get warnings about ambiguity in
stderr.
Testing: Generated Flutter docs, made sure `fit` from `Flexible` class
resolves correctly and doesn't produce a warning
Fixes #13281 parent 1661b0e commit d07dcfa
2 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | | - | |
| 1287 | + | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
1311 | 1316 | | |
1312 | 1317 | | |
1313 | 1318 | | |
| |||
2303 | 2308 | | |
2304 | 2309 | | |
2305 | 2310 | | |
2306 | | - | |
| 2311 | + | |
2307 | 2312 | | |
2308 | 2313 | | |
2309 | 2314 | | |
| |||
2313 | 2318 | | |
2314 | 2319 | | |
2315 | 2320 | | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
2316 | 2326 | | |
2317 | 2327 | | |
2318 | 2328 | | |
| |||
0 commit comments