Skip to content

GlobalRef pattern is not defined for Expr match #101

Open
@Roger-luo

Description

e.g

@match stmt begin
            Expr(:call, GlobalRef(Base, :getfield), SlotNumber(2), QuoteNode(:variables)) => break
            Expr(:call, getfield, SlotNumber(2), QuoteNode(:variables)) => break
            _ => nothing
end

it would also be nice to have the following things supported for Expr match, e.g Core.GotoIfNot Core.GotoNode, Core.SSAValue, Core.SlotNumber since they are valid items in lowered AST.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions