ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:71466] [Ruby trunk - Misc #11681] [Open] Refinements documentation is based on older implementation
       [not found] <redmine.issue-11681.20151112201505@ruby-lang.org>
@ 2015-11-12 20:15 ` james
  2015-11-17  9:06 ` [ruby-core:71518] [Ruby trunk - Misc #11681] [Assigned] " shibata.hiroshi
  2015-11-20  7:37 ` [ruby-core:71604] [Ruby trunk - Misc #11681] [Closed] " shugo
  2 siblings, 0 replies; 3+ messages in thread
From: james @ 2015-11-12 20:15 UTC (permalink / raw)
  To: ruby-core

Issue #11681 has been reported by James Adam.

----------------------------------------
Misc #11681: Refinements documentation is based on older implementation
https://bugs.ruby-lang.org/issues/11681

* Author: James Adam
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
It seems that the refinements documentation hasn't been updated to reflect more recent changes to how refinements work. For example, [[https://github.com/ruby/ruby/blob/trunk/doc/syntax/refinements.rdoc#scope]] says "You may only activate refinements at top-level, not inside any class, module or method scope", whereas the current implementation allows activating refinements anywhere except inside methods.

I've attached one potential reworking to be more accurate, but I don't mind if it's used or not. The main thing is for it to be made correct.

---Files--------------------------------
update-refinements-documentation.patch (2.63 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:71518] [Ruby trunk - Misc #11681] [Assigned] Refinements documentation is based on older implementation
       [not found] <redmine.issue-11681.20151112201505@ruby-lang.org>
  2015-11-12 20:15 ` [ruby-core:71466] [Ruby trunk - Misc #11681] [Open] Refinements documentation is based on older implementation james
@ 2015-11-17  9:06 ` shibata.hiroshi
  2015-11-20  7:37 ` [ruby-core:71604] [Ruby trunk - Misc #11681] [Closed] " shugo
  2 siblings, 0 replies; 3+ messages in thread
From: shibata.hiroshi @ 2015-11-17  9:06 UTC (permalink / raw)
  To: ruby-core

Issue #11681 has been updated by Hiroshi SHIBATA.

Status changed from Open to Assigned
Assignee set to Shugo Maeda

----------------------------------------
Misc #11681: Refinements documentation is based on older implementation
https://bugs.ruby-lang.org/issues/11681#change-54893

* Author: James Adam
* Status: Assigned
* Priority: Normal
* Assignee: Shugo Maeda
----------------------------------------
It seems that the refinements documentation hasn't been updated to reflect more recent changes to how refinements work. For example, [[https://github.com/ruby/ruby/blob/trunk/doc/syntax/refinements.rdoc#scope]] says "You may only activate refinements at top-level, not inside any class, module or method scope", whereas the current implementation allows activating refinements anywhere except inside methods.

I've attached one potential reworking to be more accurate, but I don't mind if it's used or not. The main thing is for it to be made correct.

---Files--------------------------------
update-refinements-documentation.patch (2.63 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:71604] [Ruby trunk - Misc #11681] [Closed] Refinements documentation is based on older implementation
       [not found] <redmine.issue-11681.20151112201505@ruby-lang.org>
  2015-11-12 20:15 ` [ruby-core:71466] [Ruby trunk - Misc #11681] [Open] Refinements documentation is based on older implementation james
  2015-11-17  9:06 ` [ruby-core:71518] [Ruby trunk - Misc #11681] [Assigned] " shibata.hiroshi
@ 2015-11-20  7:37 ` shugo
  2 siblings, 0 replies; 3+ messages in thread
From: shugo @ 2015-11-20  7:37 UTC (permalink / raw)
  To: ruby-core

Issue #11681 has been updated by Shugo Maeda.

Status changed from Assigned to Closed

Merged by r52629

----------------------------------------
Misc #11681: Refinements documentation is based on older implementation
https://bugs.ruby-lang.org/issues/11681#change-54988

* Author: James Adam
* Status: Closed
* Priority: Normal
* Assignee: Shugo Maeda
----------------------------------------
It seems that the refinements documentation hasn't been updated to reflect more recent changes to how refinements work. For example, [[https://github.com/ruby/ruby/blob/trunk/doc/syntax/refinements.rdoc#scope]] says "You may only activate refinements at top-level, not inside any class, module or method scope", whereas the current implementation allows activating refinements anywhere except inside methods.

I've attached one potential reworking to be more accurate, but I don't mind if it's used or not. The main thing is for it to be made correct.

---Files--------------------------------
update-refinements-documentation.patch (2.63 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-20  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11681.20151112201505@ruby-lang.org>
2015-11-12 20:15 ` [ruby-core:71466] [Ruby trunk - Misc #11681] [Open] Refinements documentation is based on older implementation james
2015-11-17  9:06 ` [ruby-core:71518] [Ruby trunk - Misc #11681] [Assigned] " shibata.hiroshi
2015-11-20  7:37 ` [ruby-core:71604] [Ruby trunk - Misc #11681] [Closed] " shugo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).