Ticket #107 (closed defect: fixed)
array arguments raise ArgumentError
| Reported by: | toast@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 0.3 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
In RubyCocoa I could do this:
cgcolor = CGColorCreate(colorspace,[1.0,1.0,1.0,1.0])
But the same thing in MacRuby gives me this error:
ArgumentError: can't convert Ruby object [1.0, 1.0, 0.0, 1.0]' to Objective-C value of type ^f'
Change History
Note: See
TracTickets for help on using
tickets.

