Skip to content

Commit 940a2e8

Browse files
committed
Reindexed infix/list =
Which were generating a dummy syntax page named infix .html. This closes #2320.
1 parent 5bbee32 commit 940a2e8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

doc/Language/operators.pod6

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,8 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
21992199
22002200
=head1 Item assignment precedence
22012201
2202-
=head2 X<infix C«=»|item =>
2202+
X<|item =>
2203+
=head2 infix C«=»
22032204
22042205
=begin code :skip-test
22052206
sub infix:<=>(Mu $a is rw, Mu $b)
@@ -2384,10 +2385,11 @@ well, so they are also checked against the endpoint:
23842385
23852386
=head1 List prefix precedence
23862387
2387-
=head2 X<infix C«=»|list =>
2388+
X<|list =>
2389+
=head2 infix C«=»
23882390
2389-
X<List assignment operator>. Its exact semantics are left to the container type on the
2390-
left-hand side. See L<Array> and L<Hash> for common cases.
2391+
X<List assignment operator>. Its exact semantics are left to the container type
2392+
on the left-hand side. See L<Array> and L<Hash> for common cases.
23912393
23922394
The distinction between item assignment and list assignment is determined by
23932395
the parser depending on the syntax of the left-hand side.
@@ -2574,14 +2576,15 @@ good-things() notandthen 'boo'.say;
25742576
25752577
Same as L<infix C<||>|#infix || >, except with looser precedence.
25762578
2577-
Returns the first argument that evaluates to C<True> in boolean context,
2578-
or otherwise the last argument, it short-circuits. Please note that C<or> is easy
2579+
Returns the first argument that evaluates to C<True> in boolean context, or
2580+
otherwise the last argument, it short-circuits. Please note that C<or> is easy
25792581
to misuse. See L<traps|/language/traps#Loose_boolean_operators>.
25802582
25812583
X<|orelse>
25822584
=head2 infix C«orelse»
25832585
2584-
The C<orelse> operator is similar to C<infix //>, except with looser precedence and C<$_> aliasing.
2586+
The C<orelse> operator is similar to C<infix //>, except with looser precedence
2587+
and C<$_> aliasing.
25852588
25862589
Returns the first defined argument, or else the last argument. Last argument
25872590
is returned as-is, without being checked for definedness at all.

0 commit comments

Comments
 (0)