[swift-dev] ExistentialMetatypeType assertion failure on Linux

Joe Groff jgroff at apple.com
Wed Dec 30 17:21:15 CST 2015


> On Dec 30, 2015, at 2:41 PM, Luke Howard <lukeh at padl.com> wrote:
> 
> 
>>> It looks like you're trying to poke at private runtime metadata structures; please don't do that. What are you trying to do?
>> 
>> Per our exchange yesterday – implement NSStringFromClass() heuristics for NSKeyedArchiver
> 
> Sorry I mean NSClassFromString(). I thought indirecting the lookup through the metadata accessor was at least a little bit less bad than accessing it directly. :)

If you're experimenting privately that's OK, but I'd prefer to get the runtime functionality in place before committing anything. We already have our hands full trying to clean up and stabilize the standard library/runtime interfaces.

-Joe


More information about the swift-dev mailing list