Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #2359 Add link to arguments in Objects
  • Loading branch information
chsanch committed Oct 20, 2018
1 parent 7bd303c commit fda476f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/objects.pod6
Expand Up @@ -530,7 +530,7 @@ Objects are generally created through method calls, either on the type
object or on another object of the same type.
Class L<Mu> provides a constructor method called L<new>, which takes named
arguments and uses them to initialize public attributes.
L<arguments|/laanguage/functions#Arguments> and uses them to initialize public attributes.
class Point {
has $.x;
Expand All @@ -544,7 +544,7 @@ arguments and uses them to initialize public attributes.
# OUTPUT: «y: 2␤»
C<Mu.new> calls method L<bless> on its invocant, passing all the named
arguments. C<bless> creates the new object and then calls method C<BUILDALL>
L<arguments|/language/functions#Arguments>. C<bless> creates the new object and then calls method C<BUILDALL>
on it. C<BUILDALL> walks all subclasses in reverse method resolution order
(i.e. from L<Mu> to most derived classes) and in each class checks for the
existence of a method named C<BUILD>. If the method exists, the method is
Expand Down

0 comments on commit fda476f

Please sign in to comment.