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

processing difference #3702

Closed
p6rt opened this issue Feb 25, 2015 · 4 comments
Closed

processing difference #3702

p6rt opened this issue Feb 25, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Feb 25, 2015

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

Searchable as RT123928$

@p6rt
Copy link
Author

p6rt commented Feb 25, 2015

From @MARTIMM

There is a processing difference between

*my Buf $raw-bin = Buf.new(0x55 xx 3);*

and

*my Buf $raw-bin .= new(0x55 xx 3);*

The last statement throws an error like;

*Cannot modify an immutable Buf**
** in method dispatch​:<.=> at src/gen/m-CORE.setting​:1330**
** in any at
/home/marcel/Languages/Perl6/rakudo/install/languages/nqp/lib/Perl6/Metamodel.moarvm​:1**
** in block <unit> at t/101-binary.t​:36**
*
perl version;

This is perl6 version 2015.01-77-gd320f00 built on MoarVM version
2015.01-21-g4ee4925

Thanks in advance
@​MARTIMM

@p6rt
Copy link
Author

p6rt commented Mar 28, 2015

From @jnthn

On Wed Feb 25 08​:13​:11 2015, mt1957@​gmail.com wrote​:

There is a processing difference between

*my Buf $raw-bin = Buf.new(0x55 xx 3);*

and

*my Buf $raw-bin .= new(0x55 xx 3);*

The last statement throws an error like;

*Cannot modify an immutable Buf**
** in method dispatch​:<.=> at src/gen/m-CORE.setting​:1330**
** in any at
/home/marcel/Languages/Perl6/rakudo/install/languages/nqp/lib/Perl6/Metamodel.moarvm​:1**
** in block <unit> at t/101-binary.t​:36**
*
perl version;

This is perl6 version 2015.01-77-gd320f00 built on MoarVM version
2015.01-21-g4ee4925

This got fixed at some point during the last couple of months. I added a test (roast commit 1589519) to ensure it doesn't regress.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Mar 28, 2015

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

@p6rt p6rt closed this as completed Mar 28, 2015
@p6rt
Copy link
Author

p6rt commented Mar 28, 2015

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

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