From 00b53b12f1d64020df9b665db46333c22b080ca7 Mon Sep 17 00:00:00 2001 From: Alex Chen Date: Wed, 6 Dec 2017 20:18:29 +0800 Subject: [PATCH] Fix broken link, jast++ --- doc/Language/syntax.pod6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Language/syntax.pod6 b/doc/Language/syntax.pod6 index d629246cd..fea8b247c 100644 --- a/doc/Language/syntax.pod6 +++ b/doc/Language/syntax.pod6 @@ -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 and +A subroutine is an instance of type L and can be assigned to any container. =comment TODO @@ -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 contains the object instance -(see L). +(see L). =begin code :skip-test # Method invocation. Object (instance) is $person, method is set-name-age