Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute initialization with ::= in Rakudo #4412

Open
p6rt opened this issue Jul 18, 2015 · 3 comments
Open

Attribute initialization with ::= in Rakudo #4412

p6rt opened this issue Jul 18, 2015 · 3 comments
Labels
NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Jul 18, 2015

Migrated from rt.perl.org#125640 (status was 'open')

Searchable as RT125640$

@p6rt
Copy link
Author

p6rt commented Jul 18, 2015

From @masak

<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

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

From @AlexDaniel

Still NYI (2017.11,HEAD(e5b660e)), although now it prints a slightly better NYI message​:

===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​:

<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

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added the NYI Features not yet implemented label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NYI Features not yet implemented
Projects
None yet
Development

No branches or pull requests

1 participant