summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 02:27:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 02:27:13 +0000
commitb2da3824c5cc03658c652ed810ee0e322bd62b80 (patch)
tree6889f0e7778c43813320ce40dadf72818d643309 /NEWS
parentd1e63172c6ecf2606ff9a947d917117eb6923436 (diff)
refinements in string interpolation
* compile.c (iseq_compile_each0): insert to_s method call, so that refinements activated at the caller should take place. [Feature #13812] * insns.def (tostring): fix up converted object to a string, infect and fallback. * insns.def (branchiftype): new instruction for conversion. branches if TOS is an instance of the given type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f289bd776a..d4ada857fa 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,8 @@ with all sufficient information, see the ChangeLog file or Redmine
* rescue/else/ensure are allowed inside do/end blocks. [Feature #12906]
+* refinements take place in string interpolations. [Feature #13812]
+
=== Core classes updates (outstanding ones only)
* Array