Re: [perl #62730] Internal Parrot errors leak through when passing some kinds of pairs

2009-01-29 Thread chromatic
On Wednesday 28 January 2009 05:43:08 jn...@jnthn.net via RT wrote: > I figured this would be easy to fix, but it's not. Basically, because > for infix:=> we could have any complex expression that generates a key > on the RHS, and Parrot does not allow us to pass named arguments where > the name i

Re: [perl #62730] Internal Parrot errors leak through when passing some kinds of pairs

2009-01-29 Thread Jonathan Worthington
chromatic wrote: On Wednesday 28 January 2009 05:43:08 jn...@jnthn.net via RT wrote: I figured this would be easy to fix, but it's not. Basically, because for infix:=> we could have any complex expression that generates a key on the RHS, and Parrot does not allow us to pass named arguments w

Re: [perl #62730] Internal Parrot errors leak through when passing some kinds of pairs

2009-01-29 Thread chromatic
On Thursday 29 January 2009 02:14:23 Jonathan Worthington wrote: > > Can you show some example PIR code that should work? > > Ah, yes, sorry... > > .sub 'main' > $S0 = 'foo' > example('foo'=>42) # works > # example($S0=>42) # what I want to work also > .end > > .sub 'example' > .pa