sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Analyzer should report an error for macro applications too close to the macro impl

Open davidmorgan opened this issue 1 year ago • 1 comments

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

added here

davidmorgan avatar Feb 14 '24 16:02 davidmorgan

@scheglov

bwilkerson avatar Feb 14 '24 16:02 bwilkerson

https://dart-review.googlesource.com/c/sdk/+/354382

scheglov avatar Feb 26 '24 20:02 scheglov