Author: Maciej Fijalkowski <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit