Skip Menu |
Report information
Id: 125640
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)



Date: Sat, 18 Jul 2015 21:05:55 +0200
From: Carl Mäsak <cmasak [...] gmail.com>
To: rakudobug [...] perl.org
Subject: [NYI] Attribute initialization with ::= in Rakudo
Download (untitled) / with headers
text/plain 363b
<TimToady> m: class Indiana { has $.pi ::= 3 }; say Indiana.new.pi <camelia> rakudo-moar 4b5e19: OUTPUT«===SORRY!=== Error while compiling /tmp/FXWlrnIrT7␤Cannot use ::= to initialize an attribute␤at /tmp/FXWlrnIrT7:1␤------> class Indiana { has $.pi ::= 3 ⏏}; say Indiana.new.pi␤» <TimToady> that oughta be made to work * masak submits NYI rakudobug
Still NYI (2017.11,HEAD(e5b660e)), although now it prints a slightly better NYI message:

Show quoted text
===SORRY!=== Error while compiling -e
"::=" not yet implemented. Sorry.
at -e:1
------> class Indiana { has $.pi ::= 3 ⏏}; say Indiana.new.pi


On 2015-07-18 12:06:15, masak wrote:
Show quoted text
> <TimToady> m: class Indiana { has $.pi ::= 3 }; say Indiana.new.pi
> <camelia> rakudo-moar 4b5e19: OUTPUT«===SORRY!=== Error while
> compiling /tmp/FXWlrnIrT7␤Cannot use ::= to initialize an attribute␤at
> /tmp/FXWlrnIrT7:1␤------> class Indiana { has $.pi ::= 3 ⏏}; say
> Indiana.new.pi␤»
> <TimToady> that oughta be made to work
> * masak submits NYI 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