From: Yukihiro Matsumoto Date: 2008-01-03T21:38:53+09:00 Subject: Re: module_eval oddness on 1.9 Hi, In message "Re: module_eval oddness on 1.9" on Thu, 3 Jan 2008 17:06:23 +0900, SASADA Koichi writes: |> The following code works on 1.8: |> |> class Foo |> module_eval do |> define_method :attribute do |*args| |> return "hello_world" |> end |> end |> end |> |> Foo.new.attribute #=> 'hello world' |> |> On 1.9 (r14776) however, this produces |> :37644: unexpected return | |It's limitation of current VM. |Matz, should I fix this problem? If you ask me if I want that limitation be fixed, I'd say yes. If you tell me we have to abandon something instead, I'd say let us discuss. matz.