Commit 41f0846
committed
Copy values that are "written as IV, then read as PV" with the same flags.
Previously Perl_sv_setsv_flags() would gleefully turn on SVf_POK for these
values, which meant that any copy no longer propagated the (new) state
that says "this value started as an integer".1 parent 6dcc8e4 commit 41f0846
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4790 | 4790 | | |
4791 | 4791 | | |
4792 | 4792 | | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
4793 | 4799 | | |
4794 | 4800 | | |
4795 | 4801 | | |
| |||
0 commit comments