From: shyouhei@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:82091] [Ruby trunk Bug#13752] Can't observe sibling refinements
Date: Tue, 18 Jul 2017 06:28:00 +0000 (UTC) [thread overview]
Message-ID: <redmine.issue-13752.20170718062759.05a03362a831c66c@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13752.20170718062759@ruby-lang.org
Issue #13752 has been reported by shyouhei (Shyouhei Urabe).
----------------------------------------
Bug #13752: Can't observe sibling refinements
https://bugs.ruby-lang.org/issues/13752
* Author: shyouhei (Shyouhei Urabe)
* Status: Assigned
* 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/
next parent reply other threads:[~2017-07-18 6:28 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 ` shyouhei [this message]
2019-10-18 0:24 ` [ruby-core:95409] [Ruby master Bug#13752] Can't observe sibling refinements merch-redmine
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.issue-13752.20170718062759.05a03362a831c66c@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).