On Wednesday 15 October 2008 08:35:32 [EMAIL PROTECTED] wrote:

> Modified:
>    trunk/src/oo.c
>
> Log:
> fix PMC_IS_NULL used instead of STRING_IS_NULL in oo.c
>
> Modified: trunk/src/oo.c
> ===========================================================================
>=== --- trunk/src/oo.c (original)
> +++ trunk/src/oo.c    Wed Oct 15 08:35:31 2008
> @@ -590,7 +590,7 @@
>              PMC             *ns = Parrot_get_namespace_keyed(interp,
>                                      base_ns, name);
>
> -            if (!PMC_IS_NULL(classname))
> +            if (!STRING_IS_NULL(classname))
>                  classname = VTABLE_get_string(interp, ns);
>              else
>                  classname = CONST_STRING(interp, "");

That's wrong, but the original was wronger.  It should have been:

        if (!PMC_IS_NULL(classname))

Fixed in r31978.

-- c

Reply via email to