Feb. 28, 2012
8:13 a.m.
Hi, On Mon, Feb 27, 2012 at 18:39, Phillip Class <phillip.d.class@gmail.com> wrote:
/home/user/Desktop/pypy/pypy/annotation/annrpython.py(235)addpendingblock() -> assert annmodel.unionof(s_oldarg, s_newarg) == s_oldarg (Pdb+) s_oldarg SomeInstance(can_be_None=False, classdef=pypy.objspace.std.intobject.W_IntObject) (Pdb+) s_newarg SomeInstance(can_be_None=False, classdef=pypy.objspace.std.stringobject.W_StringObject)
Ah, I see why. It's some random argument to space.call_function(cache.w_compile_hook, <6 arguments>). It turns out that in module/oracle/transform.py there is also another call to space.call_function() with 7 arguments. The two conflict because they are not annotated at the same time. I can write a test, probably. Armin