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=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no 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) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BE9461F4CC for ; Thu, 9 Jan 2025 11:27:28 +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=wqCJhpuo; 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=hY8m1jns; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1736422016; bh=n1t0g24fELNVZDOZRGJIQDfuLUEkLqiLwqNV4L3t86g=; 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=wqCJhpuoppgIA2t4rZzzuWvB3lAH0lWhjKMS1XB+4Zv2xupO80DbUPKnrD1X34Ndq y1a2wqKZS0V9pYA8ZRha6Iqraig26b/VmkptqL5juGzG/vOn2ALjTk66M7VeQkKN9P 7lrdI4PLjAXlbcqGjjH8FGQSubjuL5pik9pt8qxM= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 9CE35467DE for ; Thu, 9 Jan 2025 11:26:56 +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=hY8m1jns; dkim-atps=neutral Received: from s.wrqvtvvn.outbound-mail.sendgrid.net (s.wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 3113F467BC for ; Thu, 9 Jan 2025 11:26:51 +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=E1WciqyVxAzDztluLVEDqnk7iIPurHZ7GErhqe1Btwg=; b=hY8m1jnsEhay3mcgFVGeyRbLhtsGfs+y2rSSPdncIetA3UkFemMk608SYFLYFzrenv5p KsmA+IrchlaZ8LpDYru3LyxDbDB4bsA06xdifo0fpgIYSViJoCgZ0HR55qUQ/YXEghFnOC XhpiGIRt1BElvHZrI/BD/WCqr8QUUyv/p+4caPboSSr9vT5I2NRQLC0svur9gQIDC8OX71 D3d+7cGFsPIOHH6GIfczvPGri8wRL3oTPs6sqfzZs/mnnKYuhmiJZgMbD7/zquiG+Ei1Q7 HnNeQkO1xBqzlS9ZgbxDFEPS3+dVRONiMIabd/aICscpYE+7hwlubGRxxd+8hoCg== Received: by recvd-84b546689d-nmml4 with SMTP id recvd-84b546689d-nmml4-1-677FB279-2C 2025-01-09 11:26:49.491147275 +0000 UTC m=+4802524.497459499 Received: from herokuapp.com (unknown) by geopod-ismtpd-10 (SG) with ESMTP id qyLrsUMfT3Ci6y3lKwNfZA for ; Thu, 09 Jan 2025 11:26:49.426 +0000 (UTC) Date: Thu, 09 Jan 2025 11:26:49 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 6012 X-Redmine-Issue-Author: rogerdpack X-Redmine-Issue-Assignee: nobu X-Redmine-Issue-Priority: Normal X-Redmine-Sender: nobu 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: 97250 X-SG-EID: =?us-ascii?Q?u001=2E5PtzXJ23KrYzgM1nrOIr+EQ222PyrDaWSg0Er8CZ8tP86xyXmBM81zBKD?= =?us-ascii?Q?HreavdFYMbHjxXOR6UPMkt=2Fu9CyBIp6y52n8D2y?= =?us-ascii?Q?qA9zqurrgUfOpLtOZKpqeY7SaP+UZonrZvqoWFf?= =?us-ascii?Q?zv7JsOg+X7URMOtlCrnshC=2FBOQ+FK3564i8GrUc?= =?us-ascii?Q?sbccI+5mJDe8XbY5Q1Gg9HqedSWNaLXBDrK82n8?= =?us-ascii?Q?N9J69N2BJxBEzwF5Z8vrL4ab2PvGVy9tUlZj9Y7?= =?us-ascii?Q?8dVHGBvKi5Hu=2Fd2J+E9+i2b56w=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: QU32WILJVXELMSNY7OTCWAQPJ3L3J7GJ X-Message-ID-Hash: QU32WILJVXELMSNY7OTCWAQPJ3L3J7GJ 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:120566] [Ruby master Feature#6012] Proc#source_location also return the column List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "nobu (Nobuyoshi Nakada) via ruby-core" Cc: "nobu (Nobuyoshi Nakada)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #6012 has been updated by nobu (Nobuyoshi Nakada). I'm not sure about attributes and `Binding#source_location`. https://github.com/ruby/ruby/pull/12539 ---------------------------------------- Feature #6012: Proc#source_location also return the column https://bugs.ruby-lang.org/issues/6012#change-111390 * Author: rogerdpack (Roger Pack) * Status: Assigned * Assignee: nobu (Nobuyoshi Nakada) ---------------------------------------- As originally suggested in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42418 Suggestion/feature request: have #source_location also return the beginning column where it was defined. ["test.rb", 8, 33] Thanks! -roger- -- 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/