[MacRuby-devel] [MacRuby] #437: -[NSObject hash] values change when MacRuby is initialized
MacRuby
ruby-noreply at macosforge.org
Mon Nov 16 14:15:53 PST 2009
#437: -[NSObject hash] values change when MacRuby is initialized
---------------------------------+------------------------------------------
Reporter: illenberger@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: NSObject hash
---------------------------------+------------------------------------------
The assertion in the following test fails under MacRuby 0.5b1:
{{{
#import <MacRuby/MacRuby.h>
int main(int argc, char *argv[])
{
NSObject* testObject = [[NSObject alloc] init];
NSUInteger hash = testObject.hash;
[MacRuby sharedRuntime];
NSCAssert(testObject.hash == hash, @"Hash value changed");
return 0;
}
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/437>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list