sdk icon indicating copy to clipboard operation
sdk copied to clipboard

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

Open davidmorgan opened this issue 1 year ago • 0 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 CFE should report an error. Currently, it crashes. (No executor found for the macro).

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 17:02 davidmorgan