Skip Menu |
Report information
Id: 129017
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: Sat, 20 Aug 2016 18:01:38 +0100
Subject: [BUG] Range.perl doesn't round-trip Junction endpoints
To: rakudobug [...] perl.org
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 399b
Show quoted text
> Range.new(min => (2|3), max => (4|5)).WHAT
(Range) Show quoted text
> Range.new(min => (2|3), max => (4|5)).perl.EVAL.WHAT
(Junction) Show quoted text
> Range.new(min => (2|3), max => (4|5)).perl
any(2, 3)..any(4, 5) Show quoted text
> Range.new(min => (2|3), max => (4|5)).perl.EVAL.perl
any(any(2..4, 2..5), any(3..4, 3..5)) Failure of .perl.EVAL round-tripping. Range.perl's use of the ".." operator runs into Junction autothreading. -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