Issue #7572 has been updated by ko1 (Koichi Sasada).


??拷?????????劫????э??絨??????雁?????????????????с???????????鐚?

>??鴻?若????若???鴻?????絎?????????????c????翫?????nil??с???Qundef???putobject???????????????????? ?????c?????с????????r12621???荀???????Qundef???VM??鴻?帥?????臀?????????拷??????с?????????

????鐚?GC ??? mark ??堺?ャ????????????臀??????????????????????障??鐚?
鐚?GC ????鐚???<????c????綺????罐?????????????????????????с??鐚?
----------------------------------------
Bug #7572: ????劫??臂?????????鴻?若????若???鴻????????鴻?с?????????????絎????????????若????????篋??????????
https://bugs.ruby-lang.org/issues/7572#change-34875

Author: tadf (tadayoshi funaba)
Status: Assigned
Priority: Low
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux]


????劫??臂?????????鴻?若????若???鴻????????鴻?с?????????????絎????????????若????????篋?????????????

$ ruby -v -e 'class Foo < nil; end'
ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux]

$ ruby -v -e 'class Foo < false; end'
ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux]

$ ruby -v -e 'class Foo < true; end'
ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux]
-e:1:in `<main>': wrong argument type true (expected Class) (TypeError)



-- 
http://bugs.ruby-lang.org/