'Replace index nodes used to specialize cdef functions with fused
argument types with the Attribute- or NameNode referring to the
function. We then need to copy over the specialization properties to
the attribute or name node.
Because the indexing might be a Python indexing operation on a fused
function, or (usually) a Cython indexing operation, we need to
re-analyse the types.'

def visit_IndexNode(self, node):

    self.visit_Node(node)
    if (node.is_fused_index and (not node.type.is_error)):
        node = node.base
    return node
