Skip to content

Transformer (non-inline) and v_args(tree=True) does nothing #408

@Qix-

Description

@Qix-

Using @v_args(tree=True) on a subclass of Transformer doesn't have any effect. No errors, nothing - it simply doesn't change any behavior (the children are still being passed as normal).

This is also the case with @v_args(meta=True) though this incantation causes an error to be raised - something about not being able to pass meta information to internal visitors (very cryptic error).

How do you get a non-inline Transformer subclass to receive Tree or Meta information?

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