-
Notifications
You must be signed in to change notification settings - Fork 1.7k
aliasElement not populated on non-function typedef references #45291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So, we already support We can and will support We cannot currently support |
Of these I think the |
|
Great! This probably falls to P3 once both of these land as the other cases aren't that useful to actual users IMO. |
Bug: #45291 Change-Id: I97bab24f4d7cf3232a0260ec3c6abec6a4c310be Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/190731 Reviewed-by: Samuel Rawlins <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
…rType. Bug: #45291 Change-Id: Ia0378722f0e7c48e7a3042c0ef14d6833c7bf2b9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/190734 Reviewed-by: Janice Collins <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
https://dart-review.googlesource.com/c/sdk/+/191303 to publish |
@scheglov – is this fixed? |
Mostly, but not fully. |
@scheglov
Given the following code:
DartType
s generated for a, b, c, d, and e do not appear to have populated fields foraliasElement
/aliasArguments
. Onlyf
has these fields populated. I have gone over how dartdoc is finding these, and just looking at the most basic level of inspectingelement.type
I do not see the fields populated even with the experiment on. For example:Without this Dartdoc is unable to reconnect the types to their aliases, which leads to lower quality documentation.
The text was updated successfully, but these errors were encountered: