From: alexei.mifrill.strizhak@... Date: 2019-10-11T07:26:59+00:00 Subject: [ruby-core:95301] [Ruby master Bug#16133] 2.5 --> 2.6: backwards incompatible change in MalformedCSVError 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: