Skip to content

Support for macros MVP #3693

Open
Open
@srawlins

Description

@srawlins

In order to minimally support macros, we need a few bits of work. First, we need dartdoc to not crash when it attempts to document a package with macro applications; that should land with #3687.

After that, I'd like these features:

  • On the page for a class which has a macro-generated constructor, the constructor is displayed in the main panel and the sidebar, under 'Constructors.'
    • Bonus - it has a little chip saying something like 'macro-generated.' Design TBD.
  • Mutatis mutandis for a macro-generated instance method.
  • A page for a macro-generated constructor is produced.
  • Mutatis mutandis for a macro-generated instance method.
  • A macro-generated constructor can be referenced in a doc comment; it results in a valid link in the HTML.
  • Mutatis mutandis for a macro-generated instance method.

Metadata

Metadata

Assignees

No one assigned

    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