From 4a18cc7f604c259415d933acd9fd00234733cab6 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 22 Dec 2020 09:04:54 +0900 Subject: NEWS.md: mention the behavior change of Binding#eval [Bug #17419] --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 0a6b8d87c4..f1898391a2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -157,6 +157,10 @@ Outstanding ones only. # => ["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 [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 v1.2.3