summaryrefslogtreecommitdiff
path: root/test/win32ole/test_err_in_callback.rb
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2024-04-19 14:51:51 +0200
committerJean Boussier <jean.boussier@gmail.com>2024-04-23 08:59:23 +0200
commitfff228487158cbc3c1cb0b4e09d2d727038ae0b7 (patch)
treebf2b2d86896c3b701c7158979c0331068aa5f032 /test/win32ole/test_err_in_callback.rb
parenta53435868e09fd1b149def652f356840f58f4d32 (diff)
Consolitate redefined the method warning
Currently redefining a method doesn't emit one but two warnings. One at the location of the new method, and one at the location of the old method. I believe this is not ideal because when collecting warnings via a custom `Warning.warn`, it has to be pieced together. It's even more tricky because the second part may or may not be emitted depending on whether the original method has an associated ISeq. I think it's much better to emit a single warning with all the information in one go.
Diffstat (limited to 'test/win32ole/test_err_in_callback.rb')
0 files changed, 0 insertions, 0 deletions