Actions
Bug #17575
closeddeprecated style `respond_to?` warning with `-W:no-deprecated`
Bug #17575:
deprecated style `respond_to?` warning with `-W:no-deprecated`
Description
When respond_to? is defined in deprecated style, arity == 1, is warned and the defined location is also reported.
But if deprecation warning is disabled, the main message is disabled but the next line is still shown.
Updated by nobu (Nobuyoshi Nakada) over 5 years ago
- Status changed from Open to Closed
Applied in changeset git|8dfae85adb96cf3da84bf38f2103969d4a7aed3f.
Warn the defined location as deprecation as well as the main message
[Bug #17575]
Updated by naruse (Yui NARUSE) over 5 years ago
- Backport changed from 2.5: DONTNEED, 2.6: DONTNEED, 2.7: DONTNEED, 3.0: REQUIRED to 2.5: DONTNEED, 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONE
ruby_3_0 fb6cb226a03c2eeaf4fe68b282fcd6e4a8696ffd merged revision(s) 8dfae85adb96cf3da84bf38f2103969d4a7aed3f.
Actions