Skip to content

Commit a960d7f

Browse files
authored
Merge pull request #2273 from MorayJ/anchor-case
Anchor case
2 parents 049ba7c + a29bcc2 commit a960d7f

36 files changed

+56
-56
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ of a list, or in passing arguments to a sub that expects a flat list of
621621
KEY, VALUE, KEY, VALUE, then continuing to use C«=>» may break your code.
622622
The easiest workaround is to change the fat comma to a regular comma, and
623623
manually add quotes to its left-hand side. Or, you can change the sub's API
624-
to L<slurp a hash|/type/Signature#Slurpy_(A.K.A._Variadic)_Parameters>.
624+
to L<slurp a hash|/type/Signature#Slurpy_(A.K.A._variadic)_parameters>.
625625
A better long-term solution is to change the sub's API to
626626
expect L<Pair|/type/Pair>s; however, this requires you to change
627627
all sub calls at once.

doc/Language/5to6-perlop.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ equivalents, please see the L<Perl 6 documentation|/language/operators>.
2121
The operator precedence table is somewhat different in Perl 6 than it is in
2222
Perl 5, so it will not be detail here. If you need to know the precedence and
2323
associativity of a given operator in Perl 6, refer to
24-
L<Operator Precedence|/language/operators#Operator_Precedence>.
24+
L<Operator Precedence|/language/operators#Operator_precedence>.
2525
2626
=head2 Terms and list operators
2727

doc/Language/5to6-perlvar.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ Does not exist in Perl 6, but you can get the same information using C<$/[*-
377377
378378
If you want to I<understand> why that works, you can look at these documents:
379379
380-
=item L<[ ] routine|/routine/%5b%20%5d#language_documentation_operators>
380+
=item L<[ ] routine|/routine/%5b%20%5d#language_documentation_Operators>
381381
382382
=item L<Whatever|/type/Whatever>
383383

doc/Language/classtut.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ find out via introspection.
758758
759759
Some classes might need its own version of C<gist>, which overrides the terse
760760
way it is printed when called to provide a default representation of the class.
761-
For instance, L<exceptions|/language/exceptions#Uncaught_Exceptions> might want
761+
For instance, L<exceptions|/language/exceptions#Uncaught_exceptions> might want
762762
to write just the C<payload> and not the full object so that it is clearer what
763763
has happened. But you can do that with every class:
764764

doc/Language/containers.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ You'll also need to initialize the variable in the declaration, it can't be
378378
left undefined after all.
379379
380380
It's also possible to have this constraint enforced in all variables declared
381-
in a scope with the L<default defined variables pragma|/language/variables#Default_Defined_Variables_Pragma>.
381+
in a scope with the L<default defined variables pragma|/language/variables#Default_defined_variables_pragma>.
382382
People coming from other languages where variables are always defined will
383383
want to have a look.
384384

doc/Language/control.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ executed.
4040
Unless it stands alone as a statement, a block simply creates a closure. The
4141
statements inside are not executed immediately. Closures are another topic
4242
and how they are used is explained
43-
L<elsewhere|/language/functions#Blocks_and_Lambdas>. For now it is just
43+
L<elsewhere|/language/functions#Blocks_and_lambdas>. For now it is just
4444
important to understand when blocks run and when they do not:
4545
4646
=for code
@@ -778,9 +778,9 @@ All these forms may produce a return value the same way C<loop> does.
778778
=head1 X<return|control flow, return>
779779
780780
The sub C<return> will stop execution of a subroutine or method, run all
781-
relevant L<phasers|/language/phasers#Block_Phasers> and provide the given
781+
relevant L<phasers|/language/phasers#Block_phasers> and provide the given
782782
return value to the caller. The default return value is C<Nil>. If a return
783-
L<type constraint|/type/Signature#Constraining_Return_Types> is provided it
783+
L<type constraint|/type/Signature#Constraining_return_types> is provided it
784784
will be checked unless the return value is C<Nil>. If the type check fails the
785785
exception L<X::TypeCheck::Return|/type/X::TypeCheck::Return> is thrown. If it
786786
passes a control exception is raised and can be caught with
@@ -818,7 +818,7 @@ The same rules as for C<return> regarding phasers and control exceptions apply.
818818
Leaves the current routine and returns the provided
819819
L<Exception|/type/Exception> or C<Str> wrapped inside a
820820
L<Failure|/type/Failure>, after all relevant
821-
L<phasers|/language/phasers#Block_Phasers> are executed. If the caller
821+
L<phasers|/language/phasers#Block_phasers> are executed. If the caller
822822
activated fatal exceptions via the pragma C<use fatal;>, the exception is
823823
thrown instead of being returned as a C<Failure>.
824824

doc/Language/exceptions.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ the C<die> statement, but not the C<E> exception. In the absence of a C<CATCH>
199199
block, all exceptions will be contained and dropped, as indicated above.
200200
C<resume> will resume execution right after the exception has been thrown; in
201201
this case, in the C<die> statement. Please consult the section on
202-
L<resuming of exceptions|/language/exceptions#Resuming_of_Exceptions>
202+
L<resuming of exceptions|/language/exceptions#Resuming_of_exceptions>
203203
for more information on this.
204204
205205
A C<try>-block is a normal block and as such treats its last statement as the
@@ -372,7 +372,7 @@ printing a backtrace along with the message:
372372
373373
Control exceptions are thrown by certain L<keywords|/language/phasers#CONTROL>
374374
and are handled either automatically or by the appropriate
375-
L<phaser|/language/phasers#Loop_Phasers>. Any unhandled control exception is
375+
L<phaser|/language/phasers#Loop_phasers>. Any unhandled control exception is
376376
converted to a normal exception.
377377
378378
{ return; CATCH { default { $*ERR.say: .^name, ': ',.Str } } }

doc/Language/functions.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ the call. Therefore a multi candidate with named parameters will be given
301301
precedence.
302302
303303
For more information about type constraints see the documentation
304-
for the L<Signature|/type/Signature#Type_Constraints> class.
304+
for the L<Signature|/type/Signature#Type_constraints> class.
305305
306306
multi as-json(Bool $d) { $d ?? 'true' !! 'false'; }
307307
multi as-json(Real $d) { ~$d }

doc/Language/grammars.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ L<Grammar|/type/Grammar> is the superclass that classes automatically get when
8989
they are declared with the C<grammar> keyword instead of C<class>. Grammars
9090
should only be used to parse text; if you wish to extract complex data, you can
9191
add actions within the grammar, or an
92-
L<action object|/language/grammars#Action_Objects> is recommended to be used in
92+
L<action object|/language/grammars#Action_objects> is recommended to be used in
9393
conjunction with the grammar. If action objects are not used, C<.parse> returns a L<Match> object and sets, by default, the
9494
L<default match object C<$/>|/syntax/$$SOLIDUS>, to the same value.
9595

doc/Language/hashmap.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ then object hashes are what you are looking for.
286286
287287
This example uses an object hash that only accepts keys of type L<Instant> to
288288
implement a rudimentary, yet type-safe, logging mechanism. We utilize a named
289-
L<state|/language/variables#The_state_Declarator> variable for keeping track of
289+
L<state|/language/variables#The_state_declarator> variable for keeping track of
290290
the previous C<Instant> so that we can provide an interval.
291291
292292
The whole point of object hashes is to keep keys as objects-in-themselves.

0 commit comments

Comments
 (0)