Ticket #99 (closed defect: fixed)
fake pointers in collections
| Reported by: | lsansonetti@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.3 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description (last modified by lsansonetti@…) (diff)
Currently, when adding a fake pointer type (true, false, nil, fixnum or symbol) to a MacRuby collection, the value is simply passed without being converted to an Objective-C value. This breaks Cocoa APIS that expect a given array or dictionary to only contain Objective-C objects.
Example: [true].description.
Other example: a=NSArray.arrayWithObject('foo'); a.index(:foo).
This breaks LimeChat.
Change History
Note: See
TracTickets for help on using
tickets.

