[pypy-svn] r48005 - pypy/dist/pypy/lang/smalltalk

arigo at codespeak.net arigo at codespeak.net
Fri Oct 26 00:08:55 CEST 2007


Author: arigo
Date: Fri Oct 26 00:08:55 2007
New Revision: 48005

Modified:
   pypy/dist/pypy/lang/smalltalk/primitives.py
Log:
This looked wrong.


Modified: pypy/dist/pypy/lang/smalltalk/primitives.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/primitives.py	(original)
+++ pypy/dist/pypy/lang/smalltalk/primitives.py	Fri Oct 26 00:08:55 2007
@@ -678,7 +678,7 @@
 
     # Initialize the block stack from the contents of the stack:
     #   Don't bother to copy the 'self' argument
-    block_args = frame.pop_n(exp_arg_cnt - 1)
+    block_args = frame.pop_n(exp_arg_cnt)
     w_block_ctx.push_all(block_args)
 
     # Set some fields



More information about the Pypy-commit mailing list