Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update comment about that Fido dog
  • Loading branch information
lucasbuchala committed Apr 4, 2015
1 parent df6c1b4 commit 43579ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S03-operators.pod
Expand Up @@ -5088,7 +5088,7 @@ the infix operator will be the variable's prototype object:

my Dog $fido .= new; # okay: a Dog object
my Dog $fido = Dog.new; # same thing
my Dog $fido = $fido.new; # wrong: invalid self-reference
my Dog $fido = $fido.new; # okay: valid self-reference
my (Dog $fido .= new); # wrong: cannot use .= inside signature

Note that very few mutating operators make sense on a type object, however,
Expand Down

0 comments on commit 43579ec

Please sign in to comment.