On Sat, Nov 08, 2008 at 12:54:52AM -0800, Ilya Belikin wrote: > Hi there, > > sub foo (@a) { 1.say for @a } > foo((1,2,3,4)); # only one 1 > foo([1,2,3,4]); # only one 1 > foo( my @a = 1,2,3 ); # only one 1 > > This one really pesky bug :(
I suspect this appeared as a result of the recent updates to container semantics. Oddly, we don't seem to have any tests for this in the spectest suite (or if there are tests, we aren't running them for some reason). Pm