[macruby] #110: should support `obj.meth:val1, with:val2' syntax
#110: should support `obj.meth:val1, with:val2' syntax -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- MacRuby should support the following syntax obj.meth:v1, with:v2 As an alternative to obj.meth v1, with:v2 Calling `obj.meth:v1, with:v2' right now will pass :v1 (the :v1 symbol and not v1) and v2 as parameters, which is expected, but some Objective-C developers may fall into the trap, because this is very similar to the Objective-C way: [obj meth:v1 with:v2] Objective-C developers will also probably prefer this syntax because it reveals the real selector that is being sent. -- Ticket URL: <https://www.macruby.org/trac/ticket/110> macruby <http://macruby.org/>
#110: should support `obj.meth:val1, with:val2' syntax -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Resolution: Keywords: | -----------------------------------+---------------------------------------- Comment (by lsansonetti@apple.com): `obj.meth :v1, with:v2' should still send :v1 and v2 as parameters. The parser should just ignore ':' if it's right to the very first part of the selector. -- Ticket URL: <https://www.macruby.org/trac/ticket/110#comment:1> macruby <http://macruby.org/>
#110: should support `obj.meth:val1, with:val2' syntax -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Resolution: Keywords: | -----------------------------------+---------------------------------------- Changes (by lsansonetti@apple.com): * milestone: MacRuby 0.3 => MacRuby 0.4 -- Ticket URL: <http://www.macruby.org/trac/ticket/110#comment:2> MacRuby <http://macruby.org/>
participants (2)
-
macruby
-
MacRuby