Issue #16133 has been updated by mifrill (Aleksey Strizhak).


may close with Won't resolve probably, coz of this:
https://github.com/ruby/csv/issues/104

----------------------------------------
Bug #16133: 2.5 --> 2.6: backwards incompatible change in MalformedCSVError
https://bugs.ruby-lang.org/issues/16133#change-81985

* Author: Spakman (Mark Somerville)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
In Ruby 2.5, CSV::MalformedCSVError simply inherited from RuntimeError. In 2.6, it defines its own #new, taking 2 arguments (as opposed to the single argument of RuntimeError).

Code explicitly raising new errors of this class outside of the CSV library implementation itself breaks since it doesn't include the second argument (a line number).



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>