public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
Search Repo:
(ivar-accessors) now ensures that its class is registered before adding 
methods.
timburks (author)
Fri May 16 17:44:01 -0700 2008
commit  ef3ddcd7102d425b27397db72732a07585e25b15
tree    06f0e9ee1b29eb1539a170886bbd459560d542b7
parent  09fe84aaa26104ae33b8a73e9249688e567927df
...
1570
1571
1572
 
1573
1574
1575
...
1570
1571
1572
1573
1574
1575
1576
0
@@ -1570,6 +1570,7 @@ id loadNuLibraryFile(NSString *nuFileName, id parser, id context, id symbolTable
0
 {
0
     NuSymbolTable *symbolTable = [context objectForKey:SYMBOLS_KEY];
0
     NuClass *classWrapper = [context objectForKey:[symbolTable symbolWithCString:"_class"]];
0
+ [classWrapper registerClass];
0
     Class classToExtend = [classWrapper wrappedClass];
0
     [classToExtend include:[NuClass classWithClass:[NuAutomaticIvars class]]];
0
     return Nu__null;

Comments

    No one has commented yet.