[perl #77096] Deparse return and do without llafr
authorFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 05:58:27 +0000 (21:58 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 14:18:08 +0000 (06:18 -0800)
commit9c56d9eaa7e203a51ca598b9b5fdbbd3533c6b38
tree06bff99634209e61d2bef2bdf7fae1ef4a2cdb48
parent28bfcb026871cec0c2dbfa689cf0b66898733459
[perl #77096] Deparse return and do without llafr

‘return’ and ‘do-file’ are exempt from the ‘looks-like-a-function
rule’ (llafr).

B::Deparse was intentionally ignoring that:

While it might produce nice-looking code, the final code compiles dif-
ferently in many cases, so we simply cannot ignore these ops’ disre-
gard for that rule.
dist/B-Deparse/Deparse.pm
dist/B-Deparse/t/deparse.t