[pypy-commit] lang-js default: 12.6.3-7-n

stepahn noreply at buildbot.pypy.org
Fri Dec 28 11:34:06 CET 2012


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r225:583f9b005c0f
Date: 2012-05-23 15:29 +0200
http://bitbucket.org/pypy/lang-js/changeset/583f9b005c0f/

Log:	12.6.3-7-n

diff --git a/js/operations.py b/js/operations.py
--- a/js/operations.py
+++ b/js/operations.py
@@ -958,7 +958,7 @@
             bytecode.emit('STORE_MEMBER')
             bytecode.emit('POP')
         else:
-            raise Exception('unsupported')
+            raise JsTypeError('unsupported')
 
         body.emit(bytecode)
         # remove last body statement from stack
diff --git a/js/test/ecma/Statements/12.6.3-7-n.js b/js/test/ecma/Statements/12.6.3-7-n.js
--- a/js/test/ecma/Statements/12.6.3-7-n.js
+++ b/js/test/ecma/Statements/12.6.3-7-n.js
@@ -76,7 +76,7 @@
 var VERSION = "ECMA_1";
 startTest();
 var TITLE   = "The for..in statement";
-var error = err;
+var error; // = err;
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 


More information about the pypy-commit mailing list