Subject: | Fails 10tool-identify.t test on 5.10 |
This test file fails on 5.10; works on 5.12 onwards.
Appears to be because 5.10 makes use of "the temporary SV" moreso than other perls, causing an additional root to be found.
5.10's identify output:
├─(via RV) a constant of CODE() at 0xf634c0, which is:
│ └─the main code
├─(via RV) element [0] of ARRAY(1) at 0xf63238, which is:
│ └─the temporary SV
└─(via RV) the lexical $SCALAR at depth 1 of CODE() at 0xf634c0, which is:
└─the main code
Whereas the others all output something matching
├─(via RV) a constant of CODE() at _ADDR_, which is:
│ └─the main code
├─(via RV) element [0] of ARRAY(1) at _ADDR_, which is:
│ └─(via RV) value {array} of HASH(1) at _ADDR_, which is:
│ └─the symbol '%main::HASH'
└─(via RV) the lexical $SCALAR at depth 1 of CODE() at _ADDR_, which is:
└─the main code
--
Paul Evans