[ruby-core:85701] [Ruby trunk Bug#14425] rb_funcall too strict on extra args

From: naruse@...
Date: 2018-02-20 20:11:54 UTC
List: ruby-core #85701
Issue #14425 has been updated by naruse (Yui NARUSE).

Backport changed from 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE

ruby_2_5 r62501 merged revision(s) 62116,62151.

----------------------------------------
Bug #14425: rb_funcall too strict on extra args
https://bugs.ruby-lang.org/issues/14425#change-70504

* Author: normalperson (Eric Wong)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE
----------------------------------------
Ruby 2.5 instroduces extra checking for rb_funcall checking,
but apparently it is too strict for some compilers and extra
args should not cause fatal problems (only warnings).

Jeremy first reported this to me in:
https://bogomips.org/kgio-public/20171215053434.GT7579@jeremyevans.local/
but there's apparently hundreds of instances on RubyGems.org alone.

Attached are over 500 gem-codesearch results of latest gems.

/me goes to setup a sid chroot again...


---Files--------------------------------
funcall-extra-zeros.txt (47.4 KB)
0001-ruby.h-relax-rb_funcall-check-on-extra-args-for-clan.patch (3.25 KB)


-- 
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>

In This Thread

Prev Next