Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

pre-increment as expression not handled correctly #3

@aghast

Description

@aghast

In the version of -rx shipped with parrot 2.2, an expression like:

while (++$pos < $string_len)

generates PIR like:

find_lex $P804, "$pos"
inc $P804
set $N805, 
find_lex $P806, "$string_len"

Note the incomplete "set" statement on line 3.

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