Ticket #110 (new defect)
should support `obj.meth:val1, with:val2' syntax
| Reported by: | lsansonetti@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby Later |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

