[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Latest CVS: each_line broken for frozen strings

From: Matt Armstrong <matt@...>
Date: 2004-11-15 21:53:23 UTC
List: ruby-core #3742
This just showed up in 1.9 CVS.

Seems like you should be able to call #each_line on frozen strings:

ruby-cvs -e '"a\nb".freeze.each_line {|l| p l}'
"a\n"
-e:1:in `each_line': string modified (RuntimeError)
        from -e:1

-- 
matt

In This Thread