[MacRuby] #120: TypeError exception when calling #send on a pure objc setter method
#120: TypeError exception when calling #send on a pure objc setter method -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- {{{ $ ./miniruby -e "class X; attr_writer :foo; end; X.new.send('foo=', 42)" $ ./miniruby -e "class X; attr_writer :foo; end; X.new.send('setFoo', 42)" -e:1:in `send:': 42 is not a symbol (TypeError) from -e:1:in `setFoo' from -e:1:in `<main>' $ ./miniruby -e "class X; attr_writer :foo; end; X.new.send('setFoo:', 42)" -e:1:in `send:': 42 is not a symbol (TypeError) from -e:1:in `setFoo:' from -e:1:in `<main>' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/120> MacRuby <http://macruby.org/>
#120: TypeError exception when calling #send on a pure objc setter method -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Resolution: fixed Keywords: | -----------------------------------+---------------------------------------- Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => fixed Comment: Fixed in r542/trunk. Rich, could you revert the hotcocoa change? -- Ticket URL: <http://www.macruby.org/trac/ticket/120#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby