sdk
sdk copied to clipboard
Analyzer should report an error for macro applications too close to the macro impl
Per the spec, macros are not allowed to be used in the same library they are defined, or in the same library cycle.
So, the analyzer should report an error.
Tests:
language/macros/error/declare_and_use_same_library_test language/macros/error/declare_and_use_same_library_cycle_test
@scheglov
https://dart-review.googlesource.com/c/sdk/+/354382