[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:55

From: Ilmari Heikkinen <kig misfiring.net>
Date: Wed, 22 Feb 2006 18:31:28 +0200
Subject: [yarv-dev-en:55] [BUG] "foo" + RuntimeError.new("bar")

Hi,

Bumped into this when running imlib2-ruby tests. 
I don't know if this is a bug or a 1.9 feature :)


ruby1.8 -ve 'p "foo" + RuntimeError.new("bar")'
ruby 1.8.4 (2005-12-24) [i486-linux]
"foobar"

ruby-yarv -ve 'p "foo" + RuntimeError.new("bar")'
ruby 2.0.0 (Base: Ruby 1.9.0 2006-02-14) [i686-linux]
YARVCore 0.4.0 Rev: 470 (2006-02-22) [opts: ]
-e:1:in `+': can't convert RuntimeError into String (TypeError)
	from -e:1:in `<main>'


-Ilmari


-- 
ML: yarv-dev-en quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

->      55 2006-02-23 01:31 [kig misfiring.net   ] [BUG] "foo" + RuntimeError.new("bar")   
        56 2006-02-23 01:33 ┗[ko1 atdot.net       ] notabug> Re: [BUG] "foo" + RuntimeError.new("bar")
        59 2006-02-23 02:07  ┗[surrender_it yahoo.i]