Project

General

Profile

Actions

Bug #15498

closed

Update Refinements documentation

Added by palkan (Vladimir Dementyev) over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:90862]

Description

The current documentation still states:

When using indirect method access such as Kernel#send, Kernel#method or Kernel#respond_to? refinements are not honored for the caller context during method lookup.

#public_send, #respond_to? support has been added in 2.6.0 (https://bugs.ruby-lang.org/issues/15327, https://bugs.ruby-lang.org/issues/15326), #send worked before (should we update the docs for 2.5.x then?).

Github PR:https://github.com/ruby/ruby/pull/2063

Wiki page also contains an outdated information: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec#Refinements-Specification

Updated by hsbt (Hiroshi SHIBATA) over 5 years ago

  • Tracker changed from Misc to Bug
  • Status changed from Open to Closed
  • Backport set to 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED

Fixed at r66788

Updated by naruse (Yui NARUSE) over 5 years ago

  • Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED to 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: DONE

ruby_2_6 r66828 merged revision(s) 66788.

Actions #3

Updated by usa (Usaku NAKAMURA) almost 5 years ago

  • Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: DONE to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0