-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Incorrect dartdoc reference #121422
Comments
@srawlins @jcollins-g Is there anything we can do to guide dartdoc to link to the right class? Also, is there some kind of a way to specify globally what references take precedence if there are multiple candidates? We probably always want to prefer linking to things in |
Interestingly, dartdoc also thinks that this Probably because |
No, that feature is dart-lang/sdk#50702. |
@goderbauer You can attempt to force the heuristics to obey you by specifying the library name and/or package name in the comment reference. |
Blocked on the the cross referenced issue. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
https://github.com/flutter/engine/blob/11b4380b622f3e3ee71ae2ec99fb6912ca5876cf/lib/ui/text.dart#L2057
The
[Text]
reference in the docs fromdart:ui
linked above is supposed to link to theText
widget frompackage:flutter/widgets.dart
[1], instead it links to theText
class fromdart:html
[2].[1] https://master-api.flutter.dev/flutter/widgets/Text-class.html
[2] https://master-api.flutter.dev/flutter/dart-html/Text-class.html
The text was updated successfully, but these errors were encountered: