aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e6fde683f..7bcbae00c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 8 14:54:18 2013 Shugo Maeda <shugo@ruby-lang.org>
+
+ * NEWS: add description of incompatibility introduced by r42396.
+ [ruby-core:56329] [Bug #8722]
+
Thu Aug 8 14:50:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
* common.mk (mini): portable target to build miniruby
diff --git a/NEWS b/NEWS
index 61b646d194..0ee63b446e 100644
--- a/NEWS
+++ b/NEWS
@@ -76,6 +76,13 @@ with all sufficient information, see the ChangeLog file.
* incompatible changes:
* open ignore internal encoding if external encoding is ASCII-8BIT.
+* Kernel#eval, Kernel#instance_eval, and Module#module_eval.
+ * Copies the scope information of the original environment, which means
+ that private, protected, public, and module_function without arguments
+ do not affect the environment outside the eval string.
+ For example, `class Foo; eval "private"; def foo; end; end' doesn't make
+ Foo#foo private.
+
* Kernel#untrusted?, untrust, and trust
* These methods are deprecated and their behavior is same as tainted?,
taint, and untaint, respectively. If $VERBOSE is true, they show warnings.