Skip to content

Doc references with prefixes do not resolve #767

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

Closed
sethladd opened this issue Aug 5, 2015 · 4 comments
Closed

Doc references with prefixes do not resolve #767

sethladd opened this issue Aug 5, 2015 · 4 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@sethladd
Copy link
Contributor

sethladd commented Aug 5, 2015

Considering this code:

library foo;

String foo = 'hi';

and

library bar;

import 'foo.dart' as foo;

/// Testing [foo.foo]
class Bar {

}

Expected: the Testing comment should have a link to foo

Actual: no link is generated. Our current logic can't handle a prefixed name inside of a doc reference.

@sethladd sethladd added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Aug 5, 2015
@sethladd
Copy link
Contributor Author

sethladd commented Aug 5, 2015

For now, we wrap prefixed names inside a <code> block, inside of a link, as a workaround.

@sethladd
Copy link
Contributor Author

sethladd commented Aug 8, 2015

@keertip is this something we should support?

@keertip
Copy link
Collaborator

keertip commented Dec 7, 2015

The doc reference resolution is done by the analyzer and dartdoc uses that information to generate the links. So if the analyzer cannot resolve the link, not much dartdoc can do there.

@keertip keertip closed this as completed Dec 7, 2015
kevmoo added a commit to kevmoo/dartdoc that referenced this issue May 25, 2017
@jcollins-g
Copy link
Contributor

Replaced with #1402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants