Eugene Burmako | 9 Feb 14:27
Picon
Picon
Favicon
Gravatar

Get a symbol by its owner and its name

Is there a way to get a symbol if I know its owner and its name?

Positive answer will be very useful for importers (that provide
bijection between universes, e.g. between reflective mirror and
reflective compiler).

Currently importers create a new symbol for every symbol they haven't
seen yet. This means that certain symbols can be created multiple
times - once inside their own universe and once again during an import
from a universe that already has the same symbol.

Paul Phillips | 9 Feb 17:38

Re: Get a symbol by its owner and its name



On Thu, Feb 9, 2012 at 5:27 AM, Eugene Burmako <eugene.burmako-p8DiymsW2f8@public.gmane.org> wrote:
Is there a way to get a symbol if I know its owner and its name?

Much of the time this would be owner.info.member(name).  Not always.  And owner and name doesn't uniquely identify a symbol, most obviously in the case of an overloaded method.


Gmane