On Tue Aug 30 10:07:57 2016, ddgr...@gmail.com wrote: > On Sun Jun 23 04:26:36 2013, Ayiko wrote: > > use v6; > > sub foo() { say 'hi'; }; > > sub foo($i) { say "hi $i"; }; > > foo(); > > > > Gives as error > > ===SORRY!=== > > Redeclaration of routine foo > > at test2.pl:3 > > ------> sub foo($i) { say "hi 2"; }<HERE>; > > expecting any of: > > postfix > > statement end > > statement modifier > > statement modifier loop > > horizontal whitespace > > > > Maybe it should mention "multi sub" as a possible fix? > > > > I'm also not sure the "expecting any of" part is helping much in this > > case... > > Implemented in Rakudo PR 854 (https://github.com/rakudo/rakudo/pull/854). > Tests added in roast PR 148 (https://github.com/perl6/roast/pull/148).
Looks like both of these were merged. Closing ticket. -- Will "Coke" Coleda