ruby-changes:64435
From: Yusuke <ko1@a...>
Date: Tue, 22 Dec 2020 09:05:29 +0900 (JST)
Subject: [ruby-changes:64435] 4a18cc7f60 (master): NEWS.md: mention the behavior change of Binding#eval
https://git.ruby-lang.org/ruby.git/commit/?id=4a18cc7f60 From 4a18cc7f604c259415d933acd9fd00234733cab6 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Tue, 22 Dec 2020 09:04:54 +0900 Subject: NEWS.md: mention the behavior change of Binding#eval [Bug #17419] diff --git a/NEWS.md b/NEWS.md index 0a6b8d8..f189839 100644 --- a/NEWS.md +++ b/NEWS.md @@ -157,6 +157,10 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L157 # => ["data1", "data2", "data3"] ``` +* Binding#eval when called with one arguments will use "(eval)" + for `__FILE__` and 1 for `__LINE__` in the evaluated code. + [[Bug #4352]] [[Bug #17419]] + * ConditionVariable * ConditionVariable#wait may now invoke the `block`/`unblock` scheduler @@ -734,3 +738,4 @@ end https://github.com/ruby/ruby/blob/trunk/NEWS.md#L738 [Feature #17371]: https://bugs.ruby-lang.org/issues/17371 [GH-2991]: https://github.com/ruby/ruby/pull/2991 [Feature #17314]: https://bugs.ruby-lang.org/issues/17314 +[Bug #17419]: https://bugs.ruby-lang.org/issues/17419 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/