Skip Menu |
Report information
Id: 120394
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Date: Mon, 28 Oct 2013 10:49:17 +0100
From: Carl Mäsak <cmasak [...] gmail.com>
Subject: [BUG] Can't access private attributes through the ::('$!x') syntax in Rakudo
Download (untitled) / with headers
text/plain 316b
<masak> p: class A { has $!x = 42; method get() { ::('$!x') } }; say A.new.get <camelia> rakudo-parrot 3cef56: OUTPUT«No such symbol '$!x' [...] <moritz> should that work? <masak> moritz: my first thought is "I don't see why it shouldn't". <moritz> masak: my first thought was "rakudobug" * masak submits rakudobug
Still reproducible (2017.11,HEAD(e5b660e))

On 2013-10-28 02:49:38, masak wrote:
Show quoted text
> <masak> p: class A { has $!x = 42; method get() { ::('$!x') } }; say
> A.new.get
> <camelia> rakudo-parrot 3cef56: OUTPUT«No such symbol '$!x' [...]
> <moritz> should that work?
> <masak> moritz: my first thought is "I don't see why it shouldn't".
> <moritz> masak: my first thought was "rakudobug"
> * masak submits rakudobug




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org