Skip to content
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

Support for macros MVP #3693

Open
4 of 7 tasks
srawlins opened this issue Feb 28, 2024 · 1 comment
Open
4 of 7 tasks

Support for macros MVP #3693

srawlins opened this issue Feb 28, 2024 · 1 comment
Labels
P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@srawlins
Copy link
Member

srawlins commented Feb 28, 2024

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.
@srawlins srawlins added type-enhancement A request for a change that isn't a bug P1 A high priority bug; for example, a single project is unusable or has many test failures labels Feb 28, 2024
@srawlins
Copy link
Member Author

After checking 4 of the above 7 boxes, I'm reducing the priority of the remaining work.

@srawlins srawlins added P2 A bug or feature request we're likely to work on and removed P1 A high priority bug; for example, a single project is unusable or has many test failures labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant