Author: Stephan <step...@stzal.com> Branch: Changeset: r316:4c5295270755 Date: 2012-12-11 16:32 +0100 http://bitbucket.org/pypy/lang-js/changeset/4c5295270755/
Log: better error message diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -682,7 +682,7 @@ # TODO if not (isinstance(r1, W_BasicFunction)): #err = (u"%s is not a callable (%s)"%(r1.to_string(), name.to_string())) - err = u"is not a callable (%s)" + err = u"is not a callable (%s)" % (r1.to_string()) raise JsTypeError(err) argv = args.to_list() res = r1.Call(args=argv, this=this, calling_context=ctx) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit