Morgan :)
Morgan :)
Exposing the errors seems like a good start. Once we start to figure out how generators use the information maybe we can provide further help. e.g. with built_value the declaration...
I was just asked about the status of this--does anyone know, please?
Thanks, filed an issue for built_value. Any timeline for this? I guess built_value will need updating before we can roll the updated source_gen to google3.
Note that generators often do not (urgently) need to migrate--it is the code they produce that should be null safe, not the generator itself. If the generator is a dev_dependency...
+1 Along with https://github.com/dart-lang/linter/issues/2131 this would make the lint match `omit_local_variable_types`, which seems desirable.
It's possible that the needs for AST mostly don't apply with macros. The first use case is validating integration points. e.g. if for class `Foo` we generate implementation `_$Foo`, then...
SG, thanks :)
IIRC from the stable getters work, what people usually _want/mean_ when they write a final field is that it is stable, even if there is no such concept in the...
Possibly, augmenting consts is no worse--from the compiler's point of view--than shadowing them? ``` // --- Library 'main.dart'. import augment 'augment.dart'; import 'declares_a.dart'; const String c = a; // ---...
Thanks Remi! I've written a similar parser ... I expect we'll end up offering some nicer "happy path" here.