Skip Menu |
Report information
Id: 130967
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: zefram [at] fysh.org
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Date: Thu, 9 Mar 2017 17:04:08 +0000
From: Zefram <zefram [...] fysh.org>
Subject: [BUG] Junction.perl confused by iterable element
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 374b
Show quoted text
> any(([],)).perl
any([]) Show quoted text
> any(([],)).perl.EVAL.perl
any() Show quoted text
> any(((),)).perl
any(()) Show quoted text
> any(((),)).perl.EVAL.perl
any() Show quoted text
> my @a; @a[0] = slip(22,33)
(22 33) Show quoted text
> any(@a).perl
any($(slip(22, 33))) Show quoted text
> any(@a).perl.EVAL.perl
any(22, 33) Failure of .perl.EVAL to round-trip the Junction object. Happens with many kinds of iterable object as sole element of the Junction. -zefram


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org