Skip to content

[Class] update class.rbs #7968

[Class] update class.rbs

[Class] update class.rbs #7968

Triggered via pull request March 24, 2026 20:33
Status Failure
Total duration 8m 19s
Artifacts

ruby.yml

on: pull_request
Matrix: C99_compile
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test (4.0, rubocop validate test_doc build test_generate_stdlib raap)
Process completed with exit code 1.
test (4.0, rubocop validate test_doc build test_generate_stdlib raap): core/class.rbs#L128
RBS/Style/InstanceWithInstance: Use `self` instead of `instance`.
test (head, stdlib_test rubocop)
Process completed with exit code 1.
test (head, stdlib_test rubocop): core/class.rbs#L128
RBS/Style/InstanceWithInstance: Use `self` instead of `instance`.
test (head, test)
Process completed with exit code 1.
Error: test/rbs/annotate/rdoc_source_test.rb#L75
NoMethodError: undefined method 'file' for nil /home/runner/work/rbs/rbs/lib/rbs/annotate/formatter.rb:75:in 'RBS::Annotate::Formatter.translate' /home/runner/work/rbs/rbs/test/rbs/annotate/rdoc_source_test.rb:75:in 'block (2 levels) in RDocSourceTest#test_load_class' /home/runner/work/rbs/rbs/test/rbs/annotate/rdoc_source_test.rb:71:in 'Kernel#tap' /home/runner/work/rbs/rbs/test/rbs/annotate/rdoc_source_test.rb:71:in 'block in RDocSourceTest#test_load_class' /home/runner/work/rbs/rbs/test/rbs/annotate/rdoc_source_test.rb:67:in 'Kernel#tap' /home/runner/work/rbs/rbs/test/rbs/annotate/rdoc_source_test.rb:67:in 'RDocSourceTest#test_load_class'