From: merch-redmine@jeremyevans.net
To: ruby-core@ruby-lang.org
Subject: [ruby-core:95409] [Ruby master Bug#13752] Can't observe sibling refinements
Date: Fri, 18 Oct 2019 00:24:05 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-82157.20191018002405.b1037b22fbd534ec@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13752.20170718062759@ruby-lang.org
Issue #13752 has been updated by jeremyevans0 (Jeremy Evans).
Status changed from Assigned to Closed
This appears to be fixed in the master branch (printing `foo`), though it is still broken in 2.6. Not sure what commit fixed it.
----------------------------------------
Bug #13752: Can't observe sibling refinements
https://bugs.ruby-lang.org/issues/13752#change-82157
* Author: shyouhei (Shyouhei Urabe)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.0dev (2017-07-18 trunk 59355) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Sorry in advance if already reported elsewhere, but is this intentional?
```ruby
class Foo
using Module.new {
refine Foo do
def foo
puts "foo"
end
end
}
using Module.new {
refine Foo do
def bar
foo
end
end
}
new.bar
end
```
--
https://bugs.ruby-lang.org/
prev parent reply other threads:[~2019-10-18 0:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-13752.20170718062759@ruby-lang.org>
2017-07-18 6:28 ` [ruby-core:82091] [Ruby trunk Bug#13752] Can't observe sibling refinements shyouhei
2019-10-18 0:24 ` merch-redmine [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-82157.20191018002405.b1037b22fbd534ec@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).