logilab-astng #3261 can't find a decorator, when it is defined as a member of the class where it is used [resolved]

class TC(object):
   def deco(func):
       return func

   @deco
   def func(self):
       pass

This one now results in

pylintbug.py:1: [E0602, TC.func] Undefined variable 'deco'

while deco is defined and the reference does not occure in line 1 (this is another bug actually...)

prioritynormal
typebug
done in0.17.0
load0.250
load left0.000
closed by<not specified>