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

,= works but doesn't DTRT in Rakudo #741

Closed
p6rt opened this issue Mar 4, 2009 · 7 comments
Closed

,= works but doesn't DTRT in Rakudo #741

p6rt opened this issue Mar 4, 2009 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Mar 4, 2009

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

Searchable as RT63642$

@p6rt
Copy link
Author

p6rt commented Mar 4, 2009

From @masak

Abusing git commit a2f506 of Rakudo along with r37108 of Parrot, I get this​:

$ perl6 -e 'my %h1 = a => "b"; my %h2 = c => "d"; %h1 ,= %h2; say %h1'
a b
$

In my view, C<%h1 ,= %h2;> ought to have the meaning of C<%h1 = %h1,
%h2;>, which does give the result I expect​:

$ perl6 -e 'my %h1 = a => "b"; my %h2 = c => "d"; %h1 = %h1, %h2; say %h1'
a bc d
$

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S03-operators/assign.t

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

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

@p6rt
Copy link
Author

p6rt commented Aug 14, 2010

From sohtil@gmail.com

With current Rakudo the result is different, but still not the expected one​:

$ ./perl6 -e 'my %h1 = a => "b"; my %h2 = c => "d"; %h1 ,= %h2; say %h1'
c d

This is Rakudo Perl 6, version 2010.07-113-gc41bcd7 built on parrot
2.6.0 r48341

@p6rt
Copy link
Author

p6rt commented Sep 9, 2011

From @bbkr

NOM

works correctly

bbkr​:nom bbkr$ ./perl6 -e 'my %h1 = a => "b"; my %h2 = c => "d"; %h1 ,=
%h2; say %h1'
("a" => "b", "c" => "d").hash

@p6rt
Copy link
Author

p6rt commented Sep 10, 2011

From @bbkr

Tests in ../roast/S03-operators/assign.t are already unfudged and
passing for this ticket.

@p6rt
Copy link
Author

p6rt commented Sep 10, 2011

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

@p6rt p6rt closed this as completed Sep 10, 2011
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