Created
April 14, 2012 17:46
-
-
Save tadzik/2386191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat foo.pl | |
#= zebra | |
sub foo(Str $a, Int $b, @foo?) { ... }; | |
#= giraffe | |
method foo(Str $a, Int $b, @foo?) { ... }; | |
$ ./perl6 --doc foo.pl | |
Useless declaration of a has-scoped method in mainline | |
sub foo(Str $a, Int $b, @foo?): zebra | |
method foo(Str $a, Int $b, @foo?): giraffe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment