sigΛͬͯҾͱฦΓͷܕΛఆٛ͢Δ sig {params(x: Integer).returns(String)} def bar(x) x.to_s end end def main A.new.barr(91) # error: Typo! A.new.bar("91") # error: Type mismatch! end editor.rb:11: Method barr does not exist on A https://srb.help/7003 11 | A.new.barr(91) # error: Typo! ^^^^^^^^^^^^^^ Autocorrect: Use `-a` to autocorrect editor.rb:11: Replace with bar 11 | A.new.barr(91) # error: Typo! ^^^^ editor.rb:12: Expected Integer but found String("91") for argument x https://srb.help/7002 12 | A.new.bar("91") # error: Type mismatch! ^^^^^^^^^^^^^^^ editor.rb:4: Method A#bar has specified x as Integer 4 | sig {params(x: Integer).returns(String)} ^ Got String("91") originating from: editor.rb:12: 12 | A.new.bar("91") # error: Type mismatch! ^^^^ Errors: 2