aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-28 03:07:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-28 03:07:37 +0000
commitd80733f45b7c2330ba148c8137043a1a5c3f5b6f (patch)
treeadb67246d27bcf05476cc972282bd8e7849c11e1 /NEWS
parenta770ba311f7ed022bc6986c0c430a235907b0449 (diff)
downloadruby-d80733f45b7c2330ba148c8137043a1a5c3f5b6f.tar.gz
class.c: TypeError when superclass mismatch
* class.c (rb_define_class_id_under): raise TypeError exception same as ruby level class definition when superclass mismatch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b516ee88f4..b1e80ec764 100644
--- a/NEWS
+++ b/NEWS
@@ -143,6 +143,10 @@ with all sufficient information, see the ChangeLog file.
=== C API updates
+* rb_define_class_id_under() now raises a TypeError exception when the
+ class is already defined but its superclass does not match the given
+ superclass, as well as definitions in ruby level.
+
=== Build system updates
=== Implementation changes