You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. 👋 I'm seeing the following strict_unused_block category of warning show up when launching an IRB session:
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/environment.rb:793: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:376: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:779: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:688: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:1444: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
/Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:1034: warning: the block passed to 'map_type_name' defined at /Users/bkuhlmann/.cache/frum/versions/3.4.1/lib/ruby/gems/3.4.0/gems/rbs-3.8.1/lib/rbs/types.rb:18 may be ignored
The problem is map_type_name doesn't make use of a block and should be refactored so the warnings goes away.
Why
Hello. 👋 I'm seeing the following
strict_unused_block
category of warning show up when launching an IRB session:The problem is
map_type_name
doesn't make use of a block and should be refactored so the warnings goes away.How
To recreate, run:
Notes
Here's my environment:
The text was updated successfully, but these errors were encountered: