[pypy-svn] r65168 - pypy/branch/js-refactoring/pypy/lang/js

jandem at codespeak.net jandem at codespeak.net
Fri May 8 19:09:24 CEST 2009


Author: jandem
Date: Fri May  8 19:09:23 2009
New Revision: 65168

Modified:
   pypy/branch/js-refactoring/pypy/lang/js/interpreter.py
Log:
Fix a regression in Number tests


Modified: pypy/branch/js-refactoring/pypy/lang/js/interpreter.py
==============================================================================
--- pypy/branch/js-refactoring/pypy/lang/js/interpreter.py	(original)
+++ pypy/branch/js-refactoring/pypy/lang/js/interpreter.py	Fri May  8 19:09:23 2009
@@ -658,7 +658,7 @@
         put_values(ctx, w_Number, {
             'constructor': w_FncPrototype,
             'prototype': w_NumPrototype,
-            '__proto__': w_empty_fun,
+            '__proto__': w_FncPrototype,
             'length'   : W_IntNumber(1),
         })
         w_Number.propdict['prototype'].flags |= RO



More information about the Pypy-commit mailing list