File: sorbet.in

package info (click to toggle)
golang-github-reviewdog-errorformat 0.0~git20240608.1d3280e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 984 kB
  • sloc: python: 59; xml: 13; sh: 7; javascript: 4; haskell: 3; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
sample.rb:13: Method barr does not exist on A https://srb.help/7003
    13 |  A.new.barr(91)   # error: Typo!
          ^^^^^^^^^^^^^^
  Autocorrect: Use `-a` to autocorrect
    sample.rb:13: Replace with bar
    13 |  A.new.barr(91)   # error: Typo!
                ^^^^


sample.rb:14: Expected Integer but found String("91") for argument x https://srb.help/7002
    14 |  A.new.bar("91")  # error: Type mismatch!
          ^^^^^^^^^^^^^^^
    sample.rb:6: Method A#bar has specified x as Integer
     6 |  sig {params(x: Integer).returns(String)}
                      ^
  Got String("91") originating from:
    sample.rb:14:
    14 |  A.new.bar("91")  # error: Type mismatch!
                    ^^^^
Errors: 2