]> Sergey Matveev's repositories - public-inbox.git/commit
mime: avoid SUPER usage in Email::MIME subclass
authorEric Wong <e@80x24.org>
Wed, 18 Jan 2017 23:50:57 +0000 (23:50 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 Jan 2017 23:56:00 +0000 (23:56 +0000)
commitb6f6d1e1408ebf9ad71b9c912a82e3f92ed5d52c
treead379ed361c21876a86af1ca2a13d5f0ad26f3a0
parent1975aeaebbbdd628849964de42e183d04240c4e0
mime: avoid SUPER usage in Email::MIME subclass

We must call Email::Simple methods directly in our monkey patch
for Email::MIME to call the intended method.  Using SUPER in our
subclass would instead hit a different, unintended method in
Email::MIME.

Reported-by: Junio C Hamano <gitster@pobox.com>
<xmqq4m0wb43w.fsf@gitster.mtv.corp.google.com>
lib/PublicInbox/MIME.pm
t/mime.t