develooper Front page | perl.perl5.porters | Postings from November 2016

[perl #130010] v5.25.5-184-ga5540cf breaks texinfo

Thread Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
November 9, 2016 19:17
Subject:
[perl #130010] v5.25.5-184-ga5540cf breaks texinfo
Message ID:
rt-4.0.24-24363-1478719033-1055.130010-15-0@perl.org
I was able to reduce it further to a standalone case:

% cat lib/Unicode/EastAsianWidth.pm 
package Unicode::EastAsianWidth;
use strict;
use base 'Exporter';

our @EXPORT = qw(InFullwidth);

sub InFullwidth {
    return <<END;
END
}

1;
__END__
% perl -Ilib -e 'A::xx(); package A { use Unicode::EastAsianWidth; sub xx { split /[^\s\p{InFullwidth}]/, "x" } }'
perl: util.c:1880: Perl_croak_no_modify: Assertion `0' failed.
Aborted (core dumped)
% 

Note that if the module is C<use>d before the package declaration, the assertion is not hit.

Hugo

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=130010

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About