From sfalcon at fhcrc.org  Thu May 11 20:56:51 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Thu, 11 May 2006 11:56:51 -0700
Subject: [Rd] S4 initialize methods, unexpected recursive callNextMethod
In-Reply-To: <44635D65.50602@r-project.org> (John Chambers's message of "Thu,
	11 May 2006 11:51:01 -0400")
References: <m2lkt9l8jy.fsf@ziti.local> <44635D65.50602@r-project.org>
Message-ID: <m21wv0jsp8.fsf@ziti.local>

John Chambers <jmc at r-project.org> writes:

> It's a bug resulting from the combination of:
>  1. multiple recursive levels of callNextMethod()
>  2. nonstandard arguments in the method definition; that is, (.Object,
>     x) vs .Object, ...) for the generic.

Thanks for the explanation and work around suggestion.  If I'm feeling
brave, perhaps I'll take a look at the addNextMethod and
callNextMethod computations.  We found this bug for a "real" use-case,
so I have some interest in a solution that doesn't involve changing
the initializers for the three classes involved...

Best,

+ seth



[Rd] S4 initialize methods, unexpected recursive callNextMethod
Seth Falcon