Skip to content

Commit

Permalink
remove superfluous semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 26, 2010
1 parent f5277d3 commit e32eb8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/multi-dispatch.pod
Expand Up @@ -142,9 +142,9 @@ this to count how often a type check occurs:

my $counter = 0;

multi a(Int $x) { };
multi a(Int $x) { }
multi a($x) { }
multi a($x where { $counter++; True }) { };
multi a($x where { $counter++; True }) { }

a(3);
say $counter; # says B<0>
Expand Down Expand Up @@ -277,9 +277,9 @@ narrowness of a match:

=begin programlisting

class Rock { };
class Paper { };
class Scissors { };
class Rock { }
class Paper { }
class Scissors { }

multi wins(Scissors $, Paper $) { +1 }
multi wins(Paper $, Rock $) { +1 }
Expand Down

0 comments on commit e32eb8f

Please sign in to comment.