[ruby-core:76021] [Ruby trunk Bug#11954] "self has wrong type to call super in this context" under weird circumstances

From: frederick.cheung@...
Date: 2016-06-14 10:46:02 UTC
List: ruby-core #76021
Issue #11954 has been updated by Frederick Cheung.


Koichi Sasada wrote:
> Shugo-san, thank you for your investigating.
> It seems perfect.
> Could you commit it? or should I commit it?
> 

Was this ever committed/backported ? I've encountered this in real world usage with 2.3.1, and Peter's reproduction script continues to show the issue (although I had to increase iteration count to get consistent failure)

----------------------------------------
Bug #11954: "self has wrong type to call super in this context" under weird circumstances
https://bugs.ruby-lang.org/issues/11954#change-59221

* Author: Thomas Stratmann
* Status: Assigned
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
See attached file snafu.rb.

This file was obtained by inlining and reducing a large codebase...

---Files--------------------------------
snafu.rb (1.56 KB)
invoke_bmethod.diff (2.8 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