Skip to content

[doc_imports] [this] won't resolve to the current element in new analyzer comment resolver #3761

@kallentu

Description

@kallentu

Background

Example of a [this] reference:

Resolution today

Dartdoc adds this as a reference child to look through. When it looks for a reference for the current ModelElement, it will find itself and create a link to that element.

Resolution tomorrow

AFAIK the comment reference resolver in the analyzer doesn’t handle a reference named this.

We need to make sure that we add this into the ModelNode data that we are building up in Dartdoc, or alter the analyzer reference resolver in some way (not sure about this one).

But make sure we handle this, otherwise there will be a regression once we move to solely use what the analyzer provides.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions