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

Owner: Nobody
Requestors: zefram [at]

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 [...]>
Subject: [BUG] Junction.perl confused by iterable element
To: rakudobug [...]
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 infrastructure.

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