diff options
| author | Koichi Sasada <ko1@atdot.net> | 2024-04-15 14:22:40 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2024-04-15 14:53:41 +0900 |
| commit | 145cced9bcb6a52fccfa0c669121bd07d3b3ff74 (patch) | |
| tree | 6475987e99be7f57c14684e2ac1695388527d706 /test/ruby/test_string_memory.rb | |
| parent | b6a10a15180250cef9ec2bacedb71fa392ac0b8d (diff) | |
fix incorrect warning.
`super()` (not zsuper) passes the passed block and
it can be used.
```ruby
class C0
def foo; yield; end
end
class C1 < C0
def foo; super(); end
end
C1.new.foo{p :block} #=> :block
```
Diffstat (limited to 'test/ruby/test_string_memory.rb')
0 files changed, 0 insertions, 0 deletions
