[pypy-svn] r30233 - pypy/dist/pypy/translator/cli

antocuni at codespeak.net antocuni at codespeak.net
Wed Jul 19 17:21:16 CEST 2006


Author: antocuni
Date: Wed Jul 19 17:21:15 2006
New Revision: 30233

Modified:
   pypy/dist/pypy/translator/cli/cts.py
Log:
prepend 'class' here, too.



Modified: pypy/dist/pypy/translator/cli/cts.py
==============================================================================
--- pypy/dist/pypy/translator/cli/cts.py	(original)
+++ pypy/dist/pypy/translator/cli/cts.py	Wed Jul 19 17:21:15 2006
@@ -140,7 +140,7 @@
         if t is ootype.ROOT:
             return self.__class('[mscorlib]System.Object', include_class)
         elif isinstance(t, lltype.Ptr) and isinstance(t.TO, lltype.OpaqueType):
-            return '[mscorlib]System.Object'
+            return self.__class('[mscorlib]System.Object', include_class)
         elif isinstance(t, ootype.Instance):
             name = self.db.pending_class(t)
             return self.__class(name, include_class)



More information about the Pypy-commit mailing list