[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23175] [Bug #1372] Kernel.catch not accepting &block

From: Suraj Kurapati <redmine@...>
Date: 2009-04-09 21:52:08 UTC
List: ruby-core #23175
Bug #1372: Kernel.catch not accepting &block
http://redmine.ruby-lang.org/issues/show/1372

Author: Suraj Kurapati
Status: Open, Priority: Normal
Category: core, Target version: 1.9.1
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

Please observe:


$ cat catch.rb 
b = lambda { throw :foo }
catch :foo, &b


$ multiruby catch.rb 

VERSION = 1.8.7-p72
CMD     = ~/.multiruby/install/1.8.7-p72/bin/ruby catch.rb


RESULT = 0

VERSION = 1.8.6-p368
CMD     = ~/.multiruby/install/1.8.6-p368/bin/ruby catch.rb


RESULT = 0

VERSION = 1.9.1-p0
CMD     = ~/.multiruby/install/1.9.1-p0/bin/ruby catch.rb

catch.rb:2:in `catch': wrong number of arguments (1 for 0) (ArgumentError)
	from catch.rb:2:in `<main>'

RESULT = 256

TOTAL RESULT = 1 failures out of 3

Passed: 1.8.6-p368, 1.8.7-p72
Failed: 1.9.1-p0


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next