[MacRuby] #1026: IO::open give a warning when passed a block
MacRuby
ruby-noreply at macosforge.org
Sun Dec 12 20:42:18 PST 2010
#1026: IO::open give a warning when passed a block
------------------------------------+---------------------------------------
Reporter: mrada@… | Owner: lsansonetti@…
Type: defect | Status: reopened
Priority: major | Milestone: MacRuby 0.8
Component: MacRuby | Resolution:
Keywords: |
------------------------------------+---------------------------------------
Changes (by mrada@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
I don't think this was fixed.
± macirb
irb(main):001:0> IO.new { }
unknown: warning: IO::new() does not take block; use IO::open()
instead
ArgumentError: wrong number of arguments (0 for 1)
irb(main):002:0> MACRUBY_REVISION
=> "svn revision 5016 from
http://svn.macosforge.org/repository/ruby/MacRuby/trunk"
irb(main):003:0>
--
Ticket URL: <http://www.macruby.org/trac/ticket/1026#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list