Prevent a warning: the block passed to 'map_type_name' .. may be ignored #6021
Annotations
10 errors and 1 warning
Run test:
lib/rbs/types.rb#L17
Lint/Syntax: module definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L18
Lint/Syntax: unexpected token tRPAREN
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L23
Lint/Syntax: module definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L41
Lint/Syntax: module definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L42
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L107
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L108
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L109
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L119
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
Run test:
lib/rbs/types.rb#L120
Lint/Syntax: class definition in method body
(Using Ruby 3.0 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading