Skip Menu |
Report information
Id: 130974
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)



To: rakudobug [...] perl.org
From: Zefram <zefram [...] fysh.org>
Subject: [BUG] Set.perl.EVAL confused by Pair
Date: Fri, 10 Mar 2017 11:37:36 +0000
Download (untitled) / with headers
text/plain 271b
Show quoted text
> Set.new((:a)).perl
set(:a) Show quoted text
> Set.new((:a)).perl.EVAL.perl
Unexpected named argument 'a' passed in block <unit> at EVAL_20 line 1 in block <unit> at <unknown file> line 1 Failure of .perl.EVAL to round-trip. Don't know which side of the trip is at fault. -zefram
To: perl6 via RT <perl6-bugs-followup [...] perl.org>
From: Zefram <zefram [...] fysh.org>
Subject: Re: [perl #130974] [BUG] Set.perl.EVAL confused by Pair
Date: Fri, 10 Mar 2017 11:52:56 +0000
Download (untitled) / with headers
text/plain 333b
I wrote: Show quoted text
> Don't know which side of the trip >is at fault.
On reflection, for pair syntax to have special meaning at the top level of an argument list is an intentional feature of calling syntax. It is therefore .perl that is at fault, in not taking account of this syntactic feature. -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