summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 15:14:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 15:14:05 +0000
commitfe3b21bb8c00f20ad45822eb9d95c2e4058e5e5d (patch)
treefe8fe44e5e154ae24ec4452e7a522adbb7eed4d0 /lib
parent9e3afec027708a3c9919989eeed0d389c8a4c203 (diff)
object.c: no TypeError at special const clone
* object.c (rb_obj_clone2): no longer raise a TypeError for special constants, and return itself instead. however, if freeze option is false, raise an ArgumentError. [Feature#12979] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions