From: eregontp@...
Date: 2020-12-07T10:25:32+00:00
Subject: [ruby-core:101283] [Ruby master Bug#17374] Refined methods aren't visible from a refinement's module

Issue #17374 has been updated by Eregon (Benoit Daloze).


I think so. Refined methods only see each other if they are directly defined in the `refine`.

Using `prepend`/`include` is probably not recommended anyway, it leads to many complications in the semantics.

----------------------------------------
Bug #17374: Refined methods aren't visible from a refinement's module
https://bugs.ruby-lang.org/issues/17374#change-88961

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------




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