Skip to content
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

dartdocgen incorrectly ferences inherited method names. #22144

Closed
DartBot opened this issue Jan 24, 2015 · 2 comments
Closed

dartdocgen incorrectly ferences inherited method names. #22144

DartBot opened this issue Jan 24, 2015 · 2 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@DartBot
Copy link

DartBot commented Jan 24, 2015

This issue was originally filed by regardin...@gmail.com


What steps will reproduce the problem?

  1. Create class A with method 'methodName'.
  2. In the same library but different file (I used parts) create class B that extends A and also has method 'methodName' - override.
  3. In the docs for B.methodName use:

/// This is a doc and mentions [A.methodName]

What is the expected output? What do you see instead?
In the generated docs the link created in the comment is referencing the B.methodName anchor instead of A.methodName.

What version of the product are you using?
1.8.5 STABLE

On what operating system?
Linux

What browser (if applicable)?
any

Please provide any additional information below.
The referencing in DartEditor is correct - when hovering over the comment in class B.methodName the info for A.methodName is shown and hovering over the B.methodName show its own comment as it should be. The problem is only in the generated docs.

@floitschG
Copy link
Contributor

Added Area-Pkg, Pkg-DocGen, Triaged labels.

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. labels Jan 27, 2015
@sethladd
Copy link
Contributor

sethladd commented Aug 5, 2015

Thanks for the report. However, we don't plan to address this issue with dartdocgen. New dartdoc tool coming online: https://github.com/dart-lang/dartdoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

4 participants