Fix a Deparse bug - constants and PCSs were appearing as subroutine stubs.
authorNicholas Clark <nick@ccl4.org>
Mon, 24 Aug 2009 13:17:11 +0000 (14:17 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 24 Aug 2009 13:17:11 +0000 (14:17 +0100)
commit5b4ee54977204d4bae51b460a238c1c926c463d2
tree3c42144544c3c22d8eb9fc976686223e7824a351
parent7cde0a5fa931736ae578588f3b4f839dfb0d626d
Fix a Deparse bug - constants and PCSs were appearing as subroutine stubs.

(Because constants and other Proxy Constant Subroutines are stored in the
symbol table as references, and in 5.11.0 RVs merged with IVs, and B::Deparse
knows that an IV in the symbol table is a stub declaration for a subroutine
with no prototype, so B::Deparse "knew" that that's what it was.)
ext/B/B/Deparse.pm
ext/B/t/deparse.t