Update to correctly decode classes that rely on multiple inheritance.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2859 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-07-20 21:13:15 +00:00
parent 46cae73262
commit 512d3d7fbb

View file

@ -399,6 +399,10 @@ static id dummyObject;
ala decodeClassName:intoClassName: here. */
ret = objc_lookup_class (class_name);
/* Ensure that the [+initialize] method has been called for the
class by calling one of it's methods */
if (ret != Nil)
ret = [ret class];
if (ret == Nil)
[NSException raise: NSGenericException
format: @"Couldn't find class `%s'", class_name];