develooper Front page | perl.perl6.compiler | Postings from January 2012

Re: [perl #109134] Broken [�op�]

From:
Taeer Bar-Yam
Date:
January 27, 2012 13:31
Subject:
Re: [perl #109134] Broken [�op�]
Message ID:
FCEBDC76-7502-435A-B252-1DCB69499223@necsi.edu
Yeah, sorry about that:

[<<,>>] ([<a b c>], [<d e f g>])  #FAILS

([<a b c>] <<,>> [<d e f g>])     #Works fine.

»ö«
P.S. i turned the '<</>>' into the non-unicode digraph in case you couldn't see them (In your reply they came back as �, a black diamond with a question mark).

On Jan 27, 2012, at 4:10 AM, Carl Mäsak via RT wrote:

> On Thu Jan 26 13:07:44 2012, Taeer@necsi.edu wrote:
>> When I try to run anything with [�op�] it breaks. This is as an
>> alternative to writing @a[0] �op� @a[1].
>> 
>> The error is: "Nominal type check failed for parameter '$op'; expected
>> Any but got Mu instead"
>> 
>> Cheers,
>> 	���
>> 
> 
> Thank you for your report. Please supply not just the error message, but 
> the code that fails for you. It's extremely useful to have some code to 
> be able to reproduce the problem with on the fixing side.
> 




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About