From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id C505A1F4C0 for ; Fri, 18 Oct 2019 00:24:17 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 2C814120931; Fri, 18 Oct 2019 09:24:07 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 09D1A12092F for ; Fri, 18 Oct 2019 09:24:04 +0900 (JST) Received: by filter0029p3iad2.sendgrid.net with SMTP id filter0029p3iad2-21421-5DA90625-70 2019-10-18 00:24:05.866892617 +0000 UTC m=+4958.407851521 Received: from herokuapp.com (unknown [54.167.110.97]) by ismtpd0030p1mdw1.sendgrid.net (SG) with ESMTP id 7Ar8szPLQwW8_w3FDogIjQ for ; Fri, 18 Oct 2019 00:24:05.709 +0000 (UTC) Date: Fri, 18 Oct 2019 00:24:05 +0000 (UTC) From: merch-redmine@jeremyevans.net Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 70999 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13752 X-Redmine-Issue-Author: shyouhei X-Redmine-Sender: jeremyevans0 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?RVE3t853K5scBhbmJHUzZTFFeVC=2FZSUmHZ0Dc+26wcEi2CTgsF1oz0wTSSxGGN?= =?us-ascii?Q?BICEVAlDgCQj7PX6alGus+VAQn+ECO=2FkJk6Ebaf?= =?us-ascii?Q?ViUEv3po5qJ8c9szMTi+AwKbILAQ2=2FNkIETcsGo?= =?us-ascii?Q?YGcUdWUdH723AXKWidqGyMyjX2=2Fk7ZOPMw0dA0y?= =?us-ascii?Q?jGGWgRWZpx+dlFg1aAKFX9zke8DQ+46s+Kg=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 95409 Subject: [ruby-core:95409] [Ruby master Bug#13752] Can't observe sibling refinements X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/