Skip to content

Warn if directive is not applicable #451

@RomainMuller

Description

@RomainMuller

Some directives may be present in AST places where they are actually inert. This may come as a surprise to the user, and should probably at least result in issuing a compilation time warning.

For example, applying //dd:span on something that is not a function node will do nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions