Skip to content

Commit

Permalink
Fix broken link, jast++
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun committed Dec 6, 2017
1 parent 9065949 commit 00b53b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/syntax.pod6
Expand Up @@ -650,7 +650,7 @@ by an optional name, an optional signature and a code block.
Subroutines are lexically scoped, so if a name is specified
at the declaration time, the same name can be used
in the lexical scope to invoke the subroutine.
A subroutine is an instance of type L<Sub|type/Sub> and
A subroutine is an instance of type L<Sub|/type/Sub> and
can be assigned to any container.
=comment TODO
Expand All @@ -667,7 +667,7 @@ can be assigned to any container.
When declared within a class, a subroutine is named "method": methods
are subroutines invoked against an object (i.e., a class instance).
Within a method the special variable C<self> contains the object instance
(see L<Methods|classtut#Methods>).
(see L<Methods|/language/classtut#Methods>).
=begin code :skip-test
# Method invocation. Object (instance) is $person, method is set-name-age
Expand Down

0 comments on commit 00b53b1

Please sign in to comment.