logilab-astng #3651 crash when callable as defaut arg [resolved]

Marteen ter Huur reported :

If I feed the following program to PyLint:

def f(g = lambda: None):
      g().x

It crashes on the statement "i = self.argnames.index(argname)" in ASTNG, because "argname" does not exist in "self.argnames".

priorityimportant
typebug
done in0.17.1
load0.250
load left0.000
closed by<not specified>