On Monday 07 December 2009 at 07:28, Patrick R wrote:

> On Mon, Dec 07, 2009 at 09:04:41AM -0500, Will Coleda wrote:

> > I believe this issue of creating non-core types can be addressed by
> > creating and hll_mapping your types in a preceding :immediate, but am
> > not in a position to verify it now.
 
> I think this works when running .pir files, but fails when trying
> to do the same from a precompiled .pbc:

> In general I've found that the side-effects of :immediate subs 
> don't carry through to precompiled .pbc files.
> 
> I speculate that the bytecode that gets frozen into the .pbc 
> (e.g., for 'myconst' above) ends up being of a type that 
> isn't frozen/thawed/properly created when the .pbc is
> then loaded.

I can't reproduce that...

... as of r42940.  Does that change your caching strategy for the EH objects?

-- c 
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to