mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
Warn redefinitions of some methods on Object
[Bug #5473] [Bug #14670] [Bug #15382] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
973f84ef55
commit
76e3af82d5
4 changed files with 11 additions and 3 deletions
|
@ -1344,6 +1344,7 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status|
|
|||
def test_super_in_method_missing
|
||||
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
|
||||
begin;
|
||||
$VERBOSE = nil
|
||||
class Object
|
||||
def method_missing(name, *args, &block)
|
||||
super
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue