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

empty list element not flattened #180

Open
coke opened this issue Sep 2, 2013 · 0 comments
Open

empty list element not flattened #180

coke opened this issue Sep 2, 2013 · 0 comments

Comments

@coke
Copy link
Collaborator

coke commented Sep 2, 2013

Causes test failure in S04-statement-modifiers/if.t, e.g.:

        my $answer = 0;
        my @x = 41, (42 if $answer), 43;
        my @y = 41, ($answer ?? 42 !! ()), 43;
        my @z = 41, 43;
        is @y, @z, "sanity check";
        is @x, @y, "if expr on false cond";

Last test fails, as 41,(),43 != 41,43.

Additional failures in:

S06-signature/unpack-array.t
S04-statement-modifiers/unless.t
integration/99problems-11-to-20.t

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