Skip to content

Dartdoc 8.0.11 complains about "[this]" on extension types #3818

@nex3

Description

@nex3

See this GitHub actions run, which is full of errors like:

error: unresolved doc reference [this]
    from sass.SassApiValue.assertSelector: (file:///home/runner/work/dart-sass/dart-sass/lib/src/value.dart:443:16)
  error: unresolved doc reference [this]
    from sass.SassApiValue.assertSimpleSelector: (file:///home/runner/work/dart-sass/dart-sass/lib/src/value.dart:467:1[8](https://github.com/sass/dart-sass/actions/runs/9849486609/job/27193224758?pr=2251#step:4:9))
  error: unresolved doc reference [this]
    from sass.SassApiValue.assertCompoundSelector: (file:///home/runner/work/dart-sass/dart-sass/lib/src/value.dart:4[9](https://github.com/sass/dart-sass/actions/runs/9849486609/job/27193224758?pr=2251#step:4:10)2:20)
  error: unresolved doc reference [this]
    from sass.SassApiValue.assertComplexSelector: (file:///home/runner/work/dart-sass/dart-sass/lib/src/value.dart:517:19)

for code that worked with previous versions of Dartdoc. Note that the current documentation correctly renders [this] as a link to the extension type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions