summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-12-22 09:04:54 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-12-22 09:04:54 +0900
commit4a18cc7f604c259415d933acd9fd00234733cab6 (patch)
tree00328b2a3b27269aac139ffd91fa9b3d335b4160 /NEWS.md
parent91773ddd261abfc13f8a36d82b9c27a507c7cd81 (diff)
NEWS.md: mention the behavior change of Binding#eval
[Bug #17419]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md5
1 files changed, 5 insertions, 0 deletions
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