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)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4E16D1F4CC for ; Sun, 5 Jan 2025 14:06:13 +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=C6JnAIsp; 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=hVv/DFOI; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1736085940; bh=Barq7AB1Yli0n7WER2XkNj6J6iOqDazqbtv+UYfoj+I=; 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=C6JnAIsp+azQtKGy4x4Oa2FGZdRfCZHvcceDxPayR8QE916mW9QxBNcE7WqFHOPfB mN5rWYZF+XZWQspsCeBUW7aJvbmJNSpn0he6yroQrRKWUzm90iOJxkV9tZtORNfiVD MXMu9hGAgT6h2pPcwvs+B6UjkhLG8EmhzXntkzPk= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id D21824651F for ; Sun, 5 Jan 2025 14:05:40 +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=hVv/DFOI; dkim-atps=neutral Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) by nue.mailmanlists.eu (Postfix) with ESMTPS id A5AE44650F for ; Sun, 5 Jan 2025 14:05:36 +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=Etd4kjdk7NdJYAfXRDxJNdnP5ASeuI3rZX9moJgK6vE=; b=hVv/DFOIftgrtVhu5n18RRWWKSAwBxjBVrk05+WpSiQDqm34STqQv44RXITeVcw2ivqL Z3HAu+9/Y6YARk7QawtYtU7xHuVrR/xQv2prJwjG1LGiYj7lc4GbO9qz/2QXtPnb2ZlWQM UV0c908NNXeSAIpyD4tY1DM8Dbk/8nqvmFD34NPV+SsmE1YLowg30J0vfN3hKTnzBKq1Hl MqfPME2LrJnFXvCmdfQVLM8lQjB//kUszGnuvJC4GFjPfv7uMbrYlV1DJGCI+5ImB52nKi njTVPRVV4D2spnn8kiTXf57yQVi5TxZ2CMLkY2qmaC+99VtV2+9UcKjtRYe9TzPQ== Received: by recvd-786d47b7ff-mrj28 with SMTP id recvd-786d47b7ff-mrj28-1-677A91AF-1F 2025-01-05 14:05:35.470843842 +0000 UTC m=+4466622.070766069 Received: from herokuapp.com (unknown) by geopod-ismtpd-33 (SG) with ESMTP id gWMv9WGITom0trrnz2xI_g for ; Sun, 05 Jan 2025 14:05:35.425 +0000 (UTC) Date: Sun, 05 Jan 2025 14:05:35 +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: Eregon 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: 97161 X-SG-EID: =?us-ascii?Q?u001=2EByjZWvxTCjdoV8K03xEuhE7KqN4thWULFLM7+oH78KY30oYB3qFthsDpL?= =?us-ascii?Q?4w4cbYa3ttBh8bAHPOnE=2FkzPba67JNu7Lnrked2?= =?us-ascii?Q?O7K9VQ=2FJax1mwIBHgikv0JrJeSSlSGx=2Fqoi=2F5gU?= =?us-ascii?Q?1VcRWQQqiWQlT9pHdKVnQsXu1r6EM=2FOnGI4NQn=2F?= =?us-ascii?Q?0U7l6hqyHetr+Vvo8dNY0lP0nCIbGgSaFxOUFmp?= =?us-ascii?Q?y6INyRllFpJ9OGb1+fEwzHT8yGeMs65jSpjYcBj?= =?us-ascii?Q?0IoEuVndiJzTYhtVy=2Fnz98aMRw=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: ULFX543BXYCTFL3Q65ZFXD6S7CD7RVRX X-Message-ID-Hash: ULFX543BXYCTFL3Q65ZFXD6S7CD7RVRX 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:120485] [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: "Eregon (Benoit Daloze) via ruby-core" Cc: "Eregon (Benoit Daloze)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #6012 has been updated by Eregon (Benoit Daloze). One idea for this new SourceLocation/CodeLocation class would be under the new `Ruby` module, see https://bugs.ruby-lang.org/issues/20884#note-3 ---------------------------------------- Feature #6012: Proc#source_location also return the column https://bugs.ruby-lang.org/issues/6012#change-111269 * 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/