On Monday 22 September 2008 08:28:26 Stephane Payrard wrote:
> --- src/oo.c.orig 2008-09-22 16:59:06.000000000 +0200
> +++ src/oo.c 2008-09-22 17:12:36.000000000 +0200
> @@ -603,10 +603,12 @@
> static void
> fail_if_type_exists(PARROT_INTERP, ARGIN(PMC *name))
> {
> - INTVAL type;
> + INTVAL type;
> + STRING * classname;
>
> - PMC * const classname_hash = interp->class_hash;
> - PMC * const type_pmc = (PMC *)VTABLE_get_pointer_keyed(interp,
> + STRING * const separator = string_from_cstring(interp, "::", 0);
That can safely be a CONST_STRING.
-- c