diff options
author | Koichi Sasada <[email protected]> | 2020-12-11 11:54:50 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-11 11:57:25 +0900 |
commit | b53ccb9c69abd24e3bdad66cbe4c7e7480eaef16 (patch) | |
tree | d8b5ab834dcbaf999de8ac5ad612924cdb5c914b /lib | |
parent | ad6573163f4a7b7eedb904f2f6f730c3cd2669e3 (diff) |
show deprecation warning correctly for lambda(&b)
lambda(&b) where b is given block of method (like: def foo(&b))
should warn correctly.
[Feature #17361]
Also labmda(&labmda_block) or lambda(&:to_s) (Symbol#to_proc)
should not warn (but I'm not sure who cares about it).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions