dart-sdk/pkg/_macros
Sam Rawlins 82a3006220 macros: replace unsupported [this] comment references with this.
Work towards https://github.com/dart-lang/dartdoc/issues/3761

Sibling CL to https://dart-review.googlesource.com/c/sdk/+/365204

The analyzer has never recognized `[this]` as a valid doc comment
reference (and the `comment_references` lint rule has similarly
reported such reference attempts). dartdoc has its own algorithms
for resolving comment references, which we are dismantling in favor
of a single resolution, provided by the analyzer.

We've also decided against adding support in the analyzer (see
https://github.com/dart-lang/linter/issues/2079), so these
reference attempts should be re-written.

Change-Id: I872c215a574dc3d04f0708387408d22fdfd14c14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366882
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
2024-06-05 18:37:46 +00:00
..
benchmark add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
lib/src macros: replace unsupported [this] comment references with this. 2024-06-05 18:37:46 +00:00
test Add asInstanceOf to StaticType introspection capabilities 2024-05-28 10:56:55 +00:00
analysis_options.yaml
CHANGELOG.md [macros]: Remove type argument from StaticTypeImpl 2024-05-30 07:51:32 +00:00
CONTRIBUTING.md macros: replace unsupported [this] comment references with this. 2024-06-05 18:37:46 +00:00
LICENSE add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
OWNERS add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
PRESUBMIT.py update changelogs for _macros and macros packages 2024-04-09 15:40:17 +00:00
pubspec.yaml [macros]: Remove type argument from StaticTypeImpl 2024-05-30 07:51:32 +00:00
README.md Create README.md for _macros 2024-04-10 15:03:17 +00:00

Package _macros contains a private API for authoring macros. It is exposed as a public API by package:macros.