Konstantin Scheglov
Konstantin Scheglov
Nothing super interesting yet, but some base to build upon. https://dart-review.googlesource.com/c/sdk/+/368160 For now my thinking is that I need to get back from the macro framework the list of `Declaration`s...
I think the implementation is not so easy as it is described. Or at least there is complexity behind "except for the results that depended on the library which caused...
> > But this does not mean that we will use this A, because another A could be exported from c2.dart. Yes, this is an error, I read this. But...
> There is an assumption that large library cycles do exist in practice, and that we need to support them well. This is not an assumption based on evidence as...
I shared a small document with you. Discussing dependencies is the same as discussing data. You get a dependency because you asked for a piece of data. Anything that could...
> it is in the nature of macros that they consume only a small fraction of the information from their dependencies You maybe think about dependencies as whole libraries or...
We used to run the declarations phase for all libraries of the cycle at once, IIRC because we can introspect other types. Is it safe now run the declarations phase...
Ah, interesting. ```dart import 'c2.dart'; import 'c3.dart' @Macro1() class X extends A {} ``` Well, when we talk about reusing macro generated augmentations, we want to make sure that the...
``` /tmp/dart_model_benchmark/json-manual/package_under_test [time: 819 ms] (name: , count: 0, elapsed: 0:00:00.000000, elapsedSelf: -0:00:00.765840) (name: getUnitElement, count: 20, elapsed: 0:00:00.765840, elapsedSelf: 0:00:00.291550)(bytesPut: 1792746, cycleCount: 2, libraryCount: 27) (name: link, count: 2,...
It looks that https://github.com/dart-lang/language/issues/3868 talks about different meaning of the word "merge": update the element model after running each single macro application, using a single set of macro results. My...