Open Lootwig opened 3 months ago
Summary: Macros using builder.report()
to emit diagnostics, regardless of severity, cause build failures in Flutter. This issue may stem from the analyzer treating all diagnostics as errors or Flutter being overly strict in processing macro output.
Not sure if this is the analyzer declaring any "Diagnostic"s an error, or flutter being too strict in processing the output, this shows up when trying to build a project with a macro reporting anything:
flutter doctor
Flutter version 3.24.0-1.0.pre.403 on channel [user-branch] • Upstream repository https://github.com/luminateenterprises/flutter.git • Framework revision fa9b991b0d (3 months ago), 2024-04-25 17:23:02 +0200 • Engine revision 230879c793 • Dart version 3.6.0 (build 3.6.0-105.0.dev) • DevTools version 2.37.1