[pypy-commit] pypy default: fix

fijal noreply at buildbot.pypy.org
Sun Dec 29 10:10:42 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r68564:3cb51dff4d05
Date: 2013-11-27 15:56 +0200
http://bitbucket.org/pypy/pypy/changeset/3cb51dff4d05/

Log:	fix

diff --git a/rpython/rtyper/rtyper.py b/rpython/rtyper/rtyper.py
--- a/rpython/rtyper/rtyper.py
+++ b/rpython/rtyper/rtyper.py
@@ -865,6 +865,8 @@
                 raise TyperError("bug in conversion from %r to %r: "
                                  "returned a %r" % (r_from, r_to,
                                                     v.concretetype))
+        else:
+            v = orig_v
         return v
 
     def genop(self, opname, args_v, resulttype=None):


More information about the pypy-commit mailing list