#328: Calling a ObjC-method with a named argument which is a Ruby keyword does not work ------------------------+--------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------+--------------------------------------------------- {{{ macruby -e "framework 'ScriptingBridge'; term = SBApplication.applicationWithBundleIdentifier('com.apple.terminal'); term.doScript( 'echo hello', in:nil)" }}} gives an error: {{{ -e:1: syntax error, unexpected keyword_in, expecting ')' ...erm.doScript( 'echo hello', in:nil) ... ^ }}} Calling by selector is working fine: {{{ macruby -e "framework 'ScriptingBridge'; term = SBApplication.applicationWithBundleIdentifier('com.apple.terminal'); term.performSelector( :'doScript:in:', withObject:'echo hello', withObject:nil)" }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/328> MacRuby <http://macruby.org/>