From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id A283B1F4CC for ; Tue, 3 Dec 2024 00:49:08 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=DdYSU4bI; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=H5XL5LVQ; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1733186945; bh=IbXh2RMDeezx1Ka45/zaCqMylbmCYYh6FRWFkF2Uw+w=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=DdYSU4bInIec1u+fXKtz6nxvodcCn5GpRW7FlwOE3xqaN3NC8RzdifvGy0HI8cpzk M3koAeb/YUn+IwOXqvEapz0UTSmfkJ6Ghv6x9ji6djvEvkojYMYze8a6TMozHwZptY qtvhbIeKv23bKbjwQ6IM0865/RNSloAyPif/sxSQ= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id F222044CCE for ; Tue, 3 Dec 2024 00:49:05 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=H5XL5LVQ; dkim-atps=neutral Received: from s.wfbtzhsv.outbound-mail.sendgrid.net (s.wfbtzhsv.outbound-mail.sendgrid.net [159.183.224.104]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 7368444C70 for ; Tue, 3 Dec 2024 00:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=3ZgzePdcDQpheoVO7M8bTGx/ULLVBneJ3vGmw93liGk=; b=H5XL5LVQJbRCNLbd7d/UI9Q8GcpuYEjEZGtHOxcR2uE2UOVbMFCyuONA4hmDj4ppkEo4 85Hrq6k1tKv8Us4mYw/ODJG0tarc4rN7CdnYrvQ9xz0PseEJG6OrnHJybJ4g7VXFY5Y3p6 KAeRFcX1hlCfFAP3ejuphxg/5XwozOJhoIqfdgJp2Jl2UAAIBPvb8QUklqqC44n4IGbuTD 7AjDVFEWARx4JDniBK3syBSqnMgyt2sErpPHQx2eOt1nbJ6zKZLsT9ggoSowqnPwrGoCoe QTe6ldrNgCG45Ng63ODHeUaKHsfIkwnS4ce42vp5pMbPV3pPH3exjJHssESVT8BA== Received: by recvd-5c8ccdbd88-v888f with SMTP id recvd-5c8ccdbd88-v888f-1-674E5574-8 2024-12-03 00:48:52.468997179 +0000 UTC m=+1567636.576577297 Received: from herokuapp.com (unknown) by geopod-ismtpd-27 (SG) with ESMTP id RaNv2OcfTiWCW_sgbpgJjA for ; Tue, 03 Dec 2024 00:48:52.416 +0000 (UTC) Date: Tue, 03 Dec 2024 00:48:52 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20927 X-Redmine-Issue-Author: tenderlovemaking X-Redmine-Issue-Priority: Normal X-Redmine-Sender: tenderlovemaking 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-Redmine-MailingListIntegration-Message-Ids: 96758 X-SG-EID: =?us-ascii?Q?u001=2ElWMe69GVkz6xHw8adpMU6eTKSGZqJ7+E1FrjckpA7cvWAPDyDX2cAv9Do?= =?us-ascii?Q?wZtGRg2vsYQLU1U4jx+ljWd9jTs=2FpZn02mllaZG?= =?us-ascii?Q?4g2CkB4nYTBqP5s3TXT0glZXDeMPCYbJhq6xT0c?= =?us-ascii?Q?yizH=2FECTRHqZkJ8gct9Lv++ou9sJpTfGrljv4DU?= =?us-ascii?Q?SAYjJRWiIl0jtiQropaPhe=2F9pi4ZJ+fzr0j1MXc?= =?us-ascii?Q?0KfOQ9KeBHA60mNgIWs+gA8DF7IatgZJscGSsg7?= =?us-ascii?Q?4tLiubW3YHqNVzB2xrZ99IUOBA=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: U2WUNPR3CSDQPJ35PE56I2FG66OTWUBM X-Message-ID-Hash: U2WUNPR3CSDQPJ35PE56I2FG66OTWUBM X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:120082] [Ruby master Bug#20927] `{ **{ } }` behaves differently when `shareable_constant_value: experimental_everything` List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "tenderlovemaking (Aaron Patterson) via ruby-core" Cc: "tenderlovemaking (Aaron Patterson)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20927 has been reported by tenderlovemaking (Aaron Patterson). ---------------------------------------- Bug #20927: `{ **{ } }` behaves differently when `shareable_constant_value: experimental_everything` https://bugs.ruby-lang.org/issues/20927 * Author: tenderlovemaking (Aaron Patterson) * Status: Open * ruby -v: ruby 3.3.4 (2024-07-16 revision 425e468d25) [arm64-darwin23] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- These two programs produce different results ```ruby # shareable_constant_value: experimental_everything C = { **{ } } p C ``` ```ruby C = { **{ } } p C ``` The first one prints this: ``` $ ruby test.rb {nil=>{}} ``` The second one prints this: ``` $ ruby test.rb {} ``` I think they should print the same thing. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/