def accepts_int(int: Int)
  puts int
end

accepts_int("Not a String.")


Fix method type spec so it returns the correct error.
def accepts_int(int : Int)
  puts int
end

accepts_int("Not a String.")