Project

General

Profile

« Previous | Next » 

Revision 5be2af5f

Added by alanwu (Alan Wu) over 5 years ago

Remove call-seq for method that doesn't exist (#2521)

$ ruby -ve 'IO.popen("ls"){}; $?.to_int'
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
Traceback (most recent call last):
-e:1:in `<main>': undefined method `to_int' for #<Process::Status: pid 33989 SIGPIPE (signal 13)> (NoMethodError)
Did you mean?  to_i
               taint

Process::Status#to_int was removed at 7ba5c4e.