From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 5E76F2027C for ; Tue, 18 Jul 2017 06:28:10 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id D58BD120811; Tue, 18 Jul 2017 15:28:07 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 2091212080D for ; Tue, 18 Jul 2017 15:28:04 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=SBZktf4zM9mzwRyn8wyvkVIEEdc=; b=j3w1mkj3uTdfLW8bPu Nv4zEL+eatvu2oXTsPiANfto8GrKtZYpPtq93596RQSbUJEQGOTf/RXAiQDM8ltT NOWJNl4Iw5XUaVaDnR9kIyLqNh94FgZ1RuZzBKMntaQEMCS8iDevOnxrgohq44mG SsnX94rFbgH1hLX3uZQRDegnE= Received: by filter0605p1mdw1.sendgrid.net with SMTP id filter0605p1mdw1-28619-596DAA70-17 2017-07-18 06:28:00.16072298 +0000 UTC Received: from herokuapp.com (ec2-54-211-167-252.compute-1.amazonaws.com [54.211.167.252]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id 1vbPe-9uQnyE6_nqsQ4xVw for ; Tue, 18 Jul 2017 06:28:00.128 +0000 (UTC) Date: Tue, 18 Jul 2017 06:28:00 +0000 (UTC) From: shyouhei@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 57130 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13752 X-Redmine-Issue-Author: shyouhei X-Redmine-Sender: shyouhei 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: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6EzJB64k606G1pYbZXhpPFhabLl6qmh7SnYE rW4RwZoS4cP95Zgt62+q8WBeqECIh24pPR5XSnvf6EogTzjxXWGhekXFZ/AWxZSnZN74lAyPuq3f9V gxD1idosqW5mtIICiv+2JIoucrN0m2oTZtHV4CvY0d9zvvkuI+pXhg/KYg== X-ML-Name: ruby-core X-Mail-Count: 82091 Subject: [ruby-core:82091] [Ruby trunk 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 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/