[e-lang] Mystery in pass-by-construction.updoc
Kevin Reid
kpreid at attglobal.net
Sun Jan 14 21:21:28 CST 2007
Kevin Reid <kpreid at mac.com> wrote:
> On Jan 13, 2007, at 22:42, Mark S. Miller wrote:
> > In your recently submitted pass-by-construction.updoc, why should:
> > def _ {} :<type:java.lang.Runnable>
> > be PBC?
>
> Whoops. I didn't even notice; I populated that list from everything
> which 'implements JOSSPassByConstruction'.
>
> It should not be, and this is a bug. Deflector.java says:
>
> > Deflector itself implements JOSSPassByConstruction, Selfless, and
> > Persistent just in case the deflected object does. The Deflection
> > of the object implements whichever of these the deflected object does.
>
> but this behavior is evidently not occurring.
I was wrong about this and I have committed a fix.
That the updoc script did not catch it demonstrates the error-prone
nature of updoc.e's behavior of ignoring output if the script doesn't
mention what it should be.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list