Author: Carl Friedrich Bolz <[email protected]>
Branch: spaceops-are-variables
Changeset: r74249:0c4929229ecc
Date: 2014-10-26 14:10 +0100
http://bitbucket.org/pypy/pypy/changeset/0c4929229ecc/

Log:    fix error messages

diff --git a/rpython/tool/error.py b/rpython/tool/error.py
--- a/rpython/tool/error.py
+++ b/rpython/tool/error.py
@@ -88,7 +88,7 @@
 def format_annotations(annotator, oper):
     msg = []
     msg.append("Known variable annotations:")
-    for arg in oper.args + [oper.result]:
+    for arg in oper.args + [oper]:
         if isinstance(arg, Variable):
             try:
                 msg.append(" " + str(arg) + " = " + 
str(annotator.binding(arg)))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to