Skip to content

[sg] Trailing $$$ breaks sg rules #152

Description

@thecodedrift

Needs to be part of ast grep's rule validation system:

a trailing $$$ in an ast-grep pattern doesn't match a zero-argument call, which is an easy way to write a rule that looks right and matches nothing

found on nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions