dart-sdk/pkg/macros
Jake Macdonald 51939f1454 add type parameters when creating augmentations
Bug: https://github.com/dart-lang/language/issues/3922
Change-Id: I9d9f6ce898e16e2ed393ae77f0dbcbf9c75fb56d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372580
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2024-06-21 07:57:33 +00:00
..
lib Macro. Re-export package:_macros/src/executor/response_impls.dart from 'package:macros'. 2024-06-13 19:12:41 +00:00
analysis_options.yaml
CHANGELOG.md add type parameters when creating augmentations 2024-06-21 07:57:33 +00:00
CONTRIBUTING.md add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
LICENSE
OWNERS
pubspec.yaml add type parameters when creating augmentations 2024-06-21 07:57:33 +00:00
README.md add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00

☠☠ Warning: This package is experimental and may not be available in a future version of Dart. ☠☠

This package is for macro authors, and exposes the APIs necessary to write a macro. Specifically, it exports the private _macros SDK vendored package.

Macro authors

Macro authors can use normal constraints on this package, and should only import the package:macros/macros.dart file.

Note that the versions of this package are tied directly to your SDK version, so you won't be able to get new feature releases without updating your SDK.

Compilers and tools

This package also exposes some "private" sources (under lib/src), intended only for use by compilers and tools, in order to bootstrap and execute macros.

When depending on these "private" sources, a more narrow constraint should be used, which constraints to feature releases (which means patch versions until such time as this package goes to 1.0.0). For example, macros: ">=0.1.1 <0.1.2".