Use get_call_type when type_checking subscript assigment