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...) | |
priority | normal |
---|---|
type | bug |
done in | 0.17.0 |
load | 0.250 |
load left | 0.000 |
closed by | <not specified> |