Skip to content

Issue with dart doc detection #1526

@Rexios80

Description

@Rexios80

OUT: Documenting rexios_lints... Discovering libraries... Linking elements... Precaching local docs for 330371 elements... Initialized dartdoc with 959 libraries Generating docs for library analyzer_plugin/prefer_immutable_classes.dart from package:rexios_lints/analyzer_plugin/prefer_immutable_classes.dart... Generating docs for library analyzer_plugin/double_leading_zero.dart from package:rexios_lints/analyzer_plugin/double_leading_zero.dart... Generating docs for library analyzer_plugin/utils.dart from package:rexios_lints/analyzer_plugin/utils.dart... Generating docs for library analyzer_plugin/do_not_use_raw_paths.dart from package:rexios_lints/analyzer_plugin/do_not_use_raw_paths.dart... Generating docs for library analyzer_plugin/not_null_assertion.dart from package:rexios_lints/analyzer_plugin/not_null_assertion.dart... [6 more lines] ERR: dartdoc 9.0.0 (/tmp/analyzerEGOCLB/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.0.snapshot) failed: UnimplementedError: No members on Library.sentinel are accessible #0 _LibrarySentinel.noSuchMethod (package:dartdoc/src/model/library.dart:18:7) #1 _LibrarySentinel.element (package:dartdoc/src/model/library.dart:15:7) #2 canonicalLibraryCandidate (package:dartdoc/src/model/canonicalization.dart:15:69) #3 ModelElement.canonicalLibrary.


I am getting this issue after migrating my lint packages to the new analyzer plugin system:

These checks pass locally

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