Source

pypy / pypy / rpython / ootypesystem / ooregistry.py

Diff from to

pypy/rpython/ootypesystem/ooregistry.py

     _type_ = ootype._string
 
     def compute_annotation(self):
-        return annmodel.SomeOOInstance(ootype=ootype.String)
+        return annmodel.SomeOOInstance(ootype=ootype.typeOf(self.instance))
 
 
 class Entry_ooparse_int(ExtRegistryEntry):