Koichi Sasada 9180e33ca3 show warning for unused block
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
ea9caafc07
for `test-bundled-gems`.
2024-04-15 12:08:07 +09:00
..
2024-04-03 16:17:30 +09:00
2024-03-25 08:34:30 +09:00
2024-03-06 13:11:41 -05:00
2024-03-03 00:55:45 +09:00
2024-04-15 12:08:07 +09:00
2024-03-27 16:18:14 +09:00
2024-03-03 00:55:45 +09:00
2024-01-26 08:47:29 +09:00
2024-03-03 00:55:45 +09:00