Skip to content

PostfixDeref: translation using map construct does not work with push, etc #13

@zmughal

Description

@zmughal

Using map to translate the postfix subscripts does not work with push,
pop, shift, unshift, splice, and other built-ins that modify the
parameter as the map is using a copy.

Perhaps the translation of

$foo->$*

should be

${ $foo }

instead of the current

(map $$_, $foo)[0]

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