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.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_SBL,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 D259A1F44D for ; Mon, 1 Apr 2024 08:54:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=rXbhKKmC; 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=CAdzSfam; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id CF03E83AD7; Mon, 1 Apr 2024 08:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1711961642; bh=PuJYI5at1pprtHg4idXR7lxJD669DD/OkDR9GLEUOPI=; 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=rXbhKKmCNZggZ/g10Nvka6T5wlD5gbmGRB36e/+slb8SGxdKldDgWld0EQQMuytwB 4NYndKZh8YWzOavcjO/w/BDzbqhpELM+X02FcDhDBD/PoCtqkAdDbdg9HgOk8Q2XW3 jviqdhdVKEJcgKRljpcIzlcP5ozdRN4GldmIC5iI= Received: from s.csnrwnwx.outbound-mail.sendgrid.net (s.csnrwnwx.outbound-mail.sendgrid.net [198.37.146.154]) by nue.mailmanlists.eu (Postfix) with ESMTPS id C291783AC7 for ; Mon, 1 Apr 2024 08:53:58 +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=CAdzSfam; dkim-atps=neutral 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=VV4lAmhvJ2o/deggMrmxfRQKDlDQ+4V7/CTGQ0eiIiQ=; b=CAdzSfam2UDOsL7bIegizLnj2Z85Lb0C3Es1KKC3uk21aq3Xr/uuiEQNW5y8yKlpk+Jn uUE7CB4TyzAz5pKxrGWTb7k6Xe6G9l6KR+flbibfKLraEP3P4kDLdd5KZcm0Y9HmX7zERb f+T/Ezw7Hz55kF3PiVSh/jaFVq11cHIGePzQUILSo1C1Pgsekxf3+FzqwxJQdDazr1FXwx mZSMqEgbzjj7Vg8iVzQfGRcHsXCh9lE2gkMUJj8K2RC5xp4o0JRfjz7Ny+pmaI3wxn8tsB gph1ckMlg5oB6jFAeieTZQFvJ1LtFN9EV+Zk2TIug1A0cR6GSjv67pS1gdWtpYWQ== Received: by recvd-75c664ffc8-wfnwh with SMTP id recvd-75c664ffc8-wfnwh-1-660A7624-1 2024-04-01 08:53:56.355103679 +0000 UTC m=+1166054.696369500 Received: from herokuapp.com (unknown) by geopod-ismtpd-39 (SG) with ESMTP id r8M3xKOIQBqYMjGl53MG1g for ; Mon, 01 Apr 2024 08:53:56.324 +0000 (UTC) Date: Mon, 01 Apr 2024 08:53:56 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20405 X-Redmine-Issue-Author: 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: 93991 X-SG-EID: =?us-ascii?Q?u001=2E5PtzXJ23KrYzgM1nrOIr+EQ222PyrDaWSg0Er8CZ8tP86xyXmBM81zBKD?= =?us-ascii?Q?HreavdFYMbHjxXOR6UPMkt=2Fu9CyBIp6y52n8D2y?= =?us-ascii?Q?qA9zqurrgUcPPXO+ZqMOwRK4S+f=2F52u8dkVxWX3?= =?us-ascii?Q?K5BhFpunySQ7OvKC1=2FgCHdlX52fsrWhIzK93paK?= =?us-ascii?Q?8W22juS+7kpVK4Nf0ceq3Aowr2Elp13TFIh1M01?= =?us-ascii?Q?KZi=2Fqu4nAlJ67IV=2Fg530OYXr+qMLvaYblpoCshd?= =?us-ascii?Q?X4rGLs=2Fyme2qshJoyi5BjG8U1g=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: HWX4ZSYEMVVNELR2KPBJDQ7UGI6MQPPC X-Message-ID-Hash: HWX4ZSYEMVVNELR2KPBJDQ7UGI6MQPPC 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.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117396] [Ruby master Feature#20405] Inline comments 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 #20405 has been updated by nobu (Nobuyoshi Nakada). vo.x (Vit Ondruch) wrote in #note-1: > I like this proposal. But there are other possibilities, such as: > > ~~~ > (: This is comment :) > ~~~ Thank you for the comment, but you may know `(:` can conflict existing code. The reason I selected `(|` is that `/:|)` is used as Matz's face (no beard version). ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-107556 * Author: nobu (Nobuyoshi Nakada) * Status: Open ---------------------------------------- I propose a new inline comment syntax. ```ruby p (| This is a comment (| and nested one |) /:|) (:|) #=> :| ``` -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/