diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-22 16:05:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-22 16:05:50 +0000 |
commit | 3376de987afecc3e3aea14b3dea087f4b50fd3f4 (patch) | |
tree | 1be14d8414339a84c539f19e7c79b8e0581940a5 /ext | |
parent | 64484faa0be51485f76b4a5e1542b1fe76c13a76 (diff) | |
download | perl-3376de987afecc3e3aea14b3dea087f4b50fd3f4.tar.gz |
By moving the "can't upgrade downwards" croak() in Perl_sv_upgrade()
after the type changing logic, we allow sv_upgrade() from SVt_NV to
SVt_IV to "work" (SVt_NV beomes SVt_PVNV in the type changing logic)
which simplifies the code for Perl_sv_setiv() slightly.
p4raw-id: //depot/perl@32702
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions