[MacRuby] #1305: MacRuby shared runtime kernel level method bug?
#1305: MacRuby shared runtime kernel level method bug? -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- [https://gist.github.com/994565] shows the problem. {{{ #import <MacRuby/MacRuby.h> int main(void) { NSString *test = @"test"; [[MacRuby sharedRuntime] evaluateString:@"def value=(val); @val = val; end; def value; @val; end"]; [[MacRuby sharedRuntime] performRubySelector:sel_registerName("value=:") withArguments:test, nil]; id result = [[MacRuby sharedRuntime] evaluateString:@"value"]; NSLog(@"%@\n", result); return 0; } }}} Result is nil when it shouldn't. -- Ticket URL: <http://www.macruby.org/trac/ticket/1305> MacRuby <http://macruby.org/>
#1305: MacRuby shared runtime kernel level method bug? -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby Later Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * milestone: MacRuby 1.0 => MacRuby Later Comment: That's an edge case, moving to Later. -- Ticket URL: <http://www.macruby.org/trac/ticket/1305#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby