diff options
| author | Koichi Sasada <ko1@atdot.net> | 2024-04-15 17:06:03 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2024-04-15 17:56:49 +0900 |
| commit | 9a57b047033034c30a3351d08ad648735299c8cf (patch) | |
| tree | 1c77a91b5749d7f047963dda354edbc7298f484e /lib/ruby_vm | |
| parent | 145cced9bcb6a52fccfa0c669121bd07d3b3ff74 (diff) | |
`super{}` doesn't use block
`super(){}`, `super{}` and `super(&b)` doesn't use the given
block so warn unused block warning when calling a method which
doesn't use block with above `super` expressions.
e.g.: `def f = super{B1}` (warn on `f{B2}` because `B2` is not used.
Diffstat (limited to 'lib/ruby_vm')
0 files changed, 0 insertions, 0 deletions
