Morgan :)
Morgan :)
Thanks @scheglov, it did occur to me that there are probably multiple ways to set up the analyzer as a library, which might handle macros differently today. That's fine. For...
A different way we could do this: when we move to pubspec-specified macros https://github.com/dart-lang/language/issues/3728 we could also switch to building macros only outside the CFE/analyzer, i.e. a package would have...
Yes, there's certainly potential for confusion. UX is hard ;) Already working on small examples I've been forced to create a smaller analysis context that excludes users of the macro,...
Thanks! I had noticed this too, it is on a TODO list of mine somewhere to look into it :) @scheglov @jakemac53 @johnniwinther I'm not sure where this sits in...
Thanks @scheglov! Then I think remaining is the corresponding CFE fix.
Thanks @simolus3! Sorry for the slow response, I've been on vacation. We are working on a new package that macros will be based on that will live outside the SDK...
Thanks Konstantin, thanks Jake. Per our chat yesterday: I think we should reframe this discussion in terms of data, which is simpler than dependencies. So the question is: what data...
Thanks @scheglov, much appreciated :) I sent a PR adding your notes next to the macros spec https://github.com/dart-lang/language/pull/3852 so we can refer to it + evolve into a more general...
https://github.com/dart-lang/language/tree/main/working/macros/dart_model now has a runnable example comparing the current macro implementation vs data model approach on a huge library cycle. The trivial macros in the example only want the list...
For questions of correctness related to ordering, I think we should consider moving to a model with no ordering #3858 ... we can now compare using test cases, hopefully this...