Skip to content

Commit a797007

Browse files
committed
Eliminates indexing for %?LANG
Which is not actually implemented, and also for &?ROUTINE, which is indexed again further down. Closes #2523
1 parent 2e4a143 commit a797007

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/Language/variables.pod6

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ C<$!> is set to the C<Any> type object.
11141114
Note that C<CATCH> blocks I<do not> set C<$!>. Rather they set C<$_> inside
11151115
the block to the caught exception.
11161116
1117-
X<|$?FILE>X<|$?LINE>X<|::?CLASS>X<|&?ROUTINE>X<|&?BLOCK>X<|%?LANG>X<|%?RESOURCES>
1117+
X<|$?FILE>X<|$?LINE>X<|::?CLASS>X<|&?BLOCK>X<|%?RESOURCES>
11181118
=head2 Compile-time variables
11191119
11201120
All compile time variables have a question mark as part of the twigil.
@@ -1127,7 +1127,6 @@ The most common compile time variables are the following:
11271127
$?FILE Which file am I in?
11281128
$?LINE Which line am I at? [indexed from 1]
11291129
::?CLASS Which class am I in?
1130-
%?LANG What is the current set of interwoven languages?
11311130
%?RESOURCES The files associated with the "Distribution" of the current compilation unit.
11321131
11331132
C<$?FILE> and C<$?LINE> are also available from L<CallFrame|/type/CallFrame> as
@@ -1490,4 +1489,4 @@ words, such like C<add_method>.
14901489
14911490
=end pod
14921491

1493-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
1492+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)