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

Rakudo is in my constants, modifying their values! #870

Closed
p6rt opened this issue Apr 7, 2009 · 7 comments
Closed

Rakudo is in my constants, modifying their values! #870

p6rt opened this issue Apr 7, 2009 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Apr 7, 2009

Migrated from rt.perl.org#64522 (status was 'resolved')

Searchable as RT64522$

@p6rt
Copy link
Author

p6rt commented Apr 7, 2009

From @masak

<masak> rakudo​: say ++e
<p6eval> rakudo 0310a3​: OUTPUT«3.71828182845905␤»
* masak submits rakudobug
<masak> as a mathematician, I'm deeply insulted.

@p6rt
Copy link
Author

p6rt commented Apr 7, 2009

From @masak

<PerlJam> rakudo​: sub x { return 4; }; say x; say ++x; say x;
<p6eval> rakudo 0310a3​: OUTPUT«4␤5␤4␤»
<PerlJam> That's an interesting behavior
<moritz_> indeed
* masak adds PerlJam's find to the ticket
<jnthn> PerlJam​: Accidental feature! ;-)
<PerlJam> jnthn​: just add it to the spec :)

@p6rt
Copy link
Author

p6rt commented Apr 7, 2009

@masak - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 7, 2009

From @masak

<PhatEddy> rakudo​: constant $x = 1; $x += 2; say $x
<p6eval> rakudo 0310a3​: OUTPUT«3␤»
<masak> oh noes!
<PerlJam> another one of those features.
<masak> I'm having a fun time imagining how our tests for the 'constant'
keyword might look if that passes...
* masak adds that one to the growing list of sins
<pmichaud> I think constant is not yet implemented (as constant, at any
rate).

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S04-declarations/constant.t

@p6rt
Copy link
Author

p6rt commented Mar 30, 2010

From @moritz

constants can't be modified anymore, tests pass.

@p6rt
Copy link
Author

p6rt commented Mar 30, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 30, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant