Author: lwall Date: 2010-03-27 01:59:04 +0100 (Sat, 27 Mar 2010) New Revision: 30211
Modified: docs/Perl6/Spec/S12-objects.pod Log: [S12] pasto noticed by goeff++ Modified: docs/Perl6/Spec/S12-objects.pod =================================================================== --- docs/Perl6/Spec/S12-objects.pod 2010-03-26 15:44:34 UTC (rev 30210) +++ docs/Perl6/Spec/S12-objects.pod 2010-03-27 00:59:04 UTC (rev 30211) @@ -459,7 +459,6 @@ .doit: { $^a <=> $^b } # okay .doit(): { $^a <=> $^b } # okay .doit(1,2,3): { $^a <=> $^b } # okay - .doit(1,2,3): { $^a <=> $^b } # okay Normally a space is required after the colon to disambiguate what follows from from a pair that extends the previous name. However, @@ -471,7 +470,6 @@ .doit:{ $^a <=> $^b } # okay .doit():{ $^a <=> $^b } # okay .doit(1,2,3):{ $^a <=> $^b } # okay - .doit(1,2,3):{ $^a <=> $^b } # okay These are parsed as there were a space there, so the argument list may continue if the closure is followed by a comma.