[ruby-cvs:59238] shugo:r52087 (trunk): * compile.c (iseq_compile_each): Dynamic string literals (e.g.,

shugo at ruby-lang.org shugo at ruby-lang.org
Fri Oct 9 12:58:36 JST 2015


shugo	2015-10-09 12:58:34 +0900 (Fri, 09 Oct 2015)

  New Revision: 52087

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52087

  Log:
    * compile.c (iseq_compile_each): Dynamic string literals (e.g.,
      "#{x}") should not be frozen because they don't literally
      represent strings.
      https://twitter.com/shugomaeda/status/651937650027401216
      https://twitter.com/yukihiro_matz/status/651942882312482817
      https://twitter.com/yukihiro_matz/status/651980835181096960

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/test/ruby/test_iseq.rb


More information about the ruby-cvs mailing list