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

Array attributes silently don't work #12

@moritz

Description

@moritz
class A {
    has @!x;
    method pushx($a) {
        pir::push(@!x, $a);
        say(pir::join('|', @!x));
    }
}

A.new.pushx('42');

# output: an empty line. Should be 42\n, IMHO

That's the same both in master and nom branch. Needs fixing :-)

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