Author: Maciej Fijalkowski <[email protected]>
Branch: jit-applevel-hook
Changeset: r44622:059d7b72c76d
Date: 2011-06-01 15:36 +0200
http://bitbucket.org/pypy/pypy/changeset/059d7b72c76d/

Log:    fix annrpython for late annotations. A bit unclear to me how to test
        this particular change :-/

diff --git a/pypy/annotation/annrpython.py b/pypy/annotation/annrpython.py
--- a/pypy/annotation/annrpython.py
+++ b/pypy/annotation/annrpython.py
@@ -228,7 +228,7 @@
             # graph -- it's already low-level operations!
             for a, s_newarg in zip(graph.getargs(), cells):
                 s_oldarg = self.binding(a)
-                assert s_oldarg.contains(s_newarg)
+                assert annmodel.unionof(s_oldarg, s_newarg) == s_oldarg
         else:
             assert not self.frozen
             for a in cells:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to