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

List non-comprehension on jvm, moar (advent 2011 day 23) #3440

Closed
p6rt opened this issue Jul 16, 2014 · 4 comments
Closed

List non-comprehension on jvm, moar (advent 2011 day 23) #3440

p6rt opened this issue Jul 16, 2014 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 16, 2014

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

Searchable as RT122306$

@p6rt
Copy link
Author

p6rt commented Jul 16, 2014

From @dwarring

Consider​:

use Test;
my @​y = 3, 5, 7, 9;
my @​z = ($_ xx 3 if $_ > 5 for @​y);
is_deeply @​z, [7,7,7, 9,9,9];

This passes on rakudo parrot version 2014.06-119-g7360274

The jvm and moarvm back-ends are both failing as follows​:

not ok 1 -
# got​: [Any, Any, Any, Any, Any, Any]
# expected​: [7, 7, 7, 9, 9, 9]

@p6rt
Copy link
Author

p6rt commented Apr 28, 2015

From @jnthn

On Wed Jul 16 11​:38​:52 2014, david.warring wrote​:

Consider​:

use Test;
my @​y = 3, 5, 7, 9;
my @​z = ($_ xx 3 if $_ > 5 for @​y);
is_deeply @​z, [7,7,7, 9,9,9];

This passes on rakudo parrot version 2014.06-119-g7360274

The jvm and moarvm back-ends are both failing as follows​:

not ok 1 -
# got​: [Any, Any, Any, Any, Any, Any]
# expected​: [7, 7, 7, 9, 9, 9]

Fixed and unfudged the test covering this.

@p6rt
Copy link
Author

p6rt commented Apr 28, 2015

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

@p6rt
Copy link
Author

p6rt commented Apr 28, 2015

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

@p6rt p6rt closed this as completed Apr 28, 2015
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