Open mateusfccp opened 1 month ago
Thanks Mateus.
We are currently working on a new implementation that will replace the code in macro_application.dart
, so it would make sense to revisit this after we switch to the new version.
Is there any issue/PR tracking this new implementation? So I know when to revisit this issue.
The API changes, see for example
so it will be a breaking change and easy to spot :)
Consider this minimal macro:
Trying to apply this macro to a class returns an error:
Error:
I got this both in
0.1.3-main.0
and0.1.2-main.4
. I didn't test in other versions.Using this same code but in a
buildDefinitionsForClass
will work.