logilab-astng #3670 subscription inference crash in some cases [resolved]

Marteen ter Huur reported :

When checking the following program with rpython enabled:

def f(x):
      a = ()[x]

I get the following error :

File "/usr/lib/python2.4/site-packages/logilab/astng/inference.py", line 661, in tl_getitem
  return self.nodes[index]
TypeError: tuple indices must be integers
priorityimportant
typebug
done in0.17.1
load0.250
load left0.000
closed by<not specified>