Open
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.
Metadata
Assignees
Labels
No labels
Activity