[svn:parrot] r39132 - trunk/src
NotFound
julian.notfound at gmail.com
Sun May 24 11:21:45 UTC 2009
> Hmmm...caching it in the HLL namespace? Does this not mean that two lookups
> from two different HLLs will result in two PMC proxies? If so, this is going
> to cause problems, since we really need one PMCProxy instance per PMC.
> Otherwise, any code that compares pointers to check class identity (which is
> the Right Way) is going to fail.
I think the idea is that this branch must never get reached from the
wrong HLL. Now when instantiating foreign pmc root_new must be used
instead of plain new. Until the old usage finish a deprecation cycle,
maybe a warning in that branch when the HLL of the PMC isn't the
current might be helpful.
--
Salu2
More information about the parrot-dev
mailing list