Skip to content

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

Closed
@davidmorgan

Description

@davidmorgan

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

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onfeature-macrosImplementation of the macros featurelegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions