diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-15 08:27:22 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-09-18 08:00:49 +0000 |
commit | 7ebc59cd46fc3a16a5785f6a7235a7ee8126aabd (patch) | |
tree | beb4c1cbcd698ad89a8caa14931b7c71822d6cba /pod | |
parent | 5fe711cbde7af4233fdb3a13af2208edc2096624 (diff) | |
download | perl-7ebc59cd46fc3a16a5785f6a7235a7ee8126aabd.tar.gz |
Prefix "unexpected constant lvalue entersub" with "panic: "
In Sep 1999 commit cd06dffe59d6 added various "internal error" croak()s:
initial implementation of lvalue subroutines (slightly fixed
version of patch suggested by Ilya Zakharevich, which in turn
is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>)
One was "panic: unexpected lvalue entersub entry via type/targ %ld:%ld"
Another "Unexpected constant lvalue entersub entry via type/targ %ld:%ld"
Prefix the latter with "panic: " to make it consistent.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index fb7a028ecc..cc942328f5 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4894,6 +4894,11 @@ was string. (P) The compiler attempted to do a goto, or something weird like that. +=item panic: unexpected constant lvalue entersub entry via type/targ %d:%d + +(P) When compiling a subroutine call in lvalue context, Perl failed an +internal consistency check. It encountered a malformed op tree. + =item panic: unimplemented op %s (#%d) called (P) The compiler is screwed up and attempted to use an op that isn't @@ -6709,11 +6714,6 @@ within an inner pair of square brackets, like Another possibility is that you forgot a backslash. Perl isn't smart enough to figure out what you really meant. -=item Unexpected constant lvalue entersub entry via type/targ %d:%d - -(P) When compiling a subroutine call in lvalue context, Perl failed an -internal consistency check. It encountered a malformed op tree. - =item Unexpected exit %u (S) exit() was called or the script otherwise finished gracefully when |