diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-16 04:55:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-16 04:55:14 +0000 |
commit | cef4168f2fc8440188d371f92d607777a471fdfe (patch) | |
tree | 2ab3eafa7c7820209707824cabea6de573c1244e /object.c | |
parent | 8770ea7b6b003e4d6de062c12c1eec7d069c93dc (diff) | |
download | ruby-cef4168f2fc8440188d371f92d607777a471fdfe.tar.gz ruby-cef4168f2fc8440188d371f92d607777a471fdfe.tar.xz ruby-cef4168f2fc8440188d371f92d607777a471fdfe.zip |
* string.c (str_mod_check): frozen check should be separated.
[ruby-core:3742]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1521,7 +1521,7 @@ rb_obj_alloc(klass) rb_raise(rb_eTypeError, "can't instantiate uninitialized class"); } if (FL_TEST(klass, FL_SINGLETON)) { - rb_raise(rb_eTypeError, "can't create instance of virtual class"); + rb_raise(rb_eTypeError, "can't create instance of singleton class"); } obj = rb_funcall(klass, ID_ALLOCATOR, 0, 0); if (rb_obj_class(obj) != rb_class_real(klass)) { |