From: Vincent Pit Date: Thu, 5 Sep 2013 11:02:10 +0000 (+0200) Subject: Handle __PACKAGE__ as object name correctly X-Git-Tag: rt88428^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=07fb4eb28539b53578b1421e348c12c921d180f1;hp=07fb4eb28539b53578b1421e348c12c921d180f1;p=perl%2Fmodules%2Findirect.git Handle __PACKAGE__ as object name correctly __PACKAGE__ cannot appear as the object name for indirect calls, but it can for direct ones. This could cause wrong reports of indirect calls when the actual package name appeared later in the source, for instance in a comment. This is fixed by looking for '__PACKAGE__' in the source buffer when we already have a hit for the current package name, and by keeping the first one of those two. This fixes RT #88428. ---