[pypy-svn] r47990 - pypy/dist/pypy/lang/smalltalk
arigo at codespeak.net
arigo at codespeak.net
Thu Oct 25 21:22:56 CEST 2007
Author: arigo
Date: Thu Oct 25 21:22:56 2007
New Revision: 47990
Modified:
pypy/dist/pypy/lang/smalltalk/primitives.py
Log:
Yet more untested code. (found by cfbolz)
Modified: pypy/dist/pypy/lang/smalltalk/primitives.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/primitives.py (original)
+++ pypy/dist/pypy/lang/smalltalk/primitives.py Thu Oct 25 21:22:56 2007
@@ -329,7 +329,7 @@
def func(args, (w_obj,)):
if not w_obj.shadow_of_my_class().isvariable():
raise PrimitiveFailedError()
- return w_obj.size()
+ return wrap_int(w_obj.size())
@primitive(STRING_AT)
@stack(2)
More information about the Pypy-commit
mailing list