From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure Date: Sat, 20 Jul 2024 11:52:55 +0300 Message-ID: <86jzhge97c.fsf@gnu.org> References: <8734ojhqbb.fsf@pub.pink> <87cynclwhm.fsf@pub.pink> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71998@debbugs.gnu.org To: john muhl , Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 20 10:54:19 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sV5r6-0002S8-Rb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jul 2024 10:54:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sV5qt-0007i5-1p; Sat, 20 Jul 2024 04:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sV5qs-0007hn-Fn for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 04:54:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sV5qs-0000Ex-7d for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 04:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sV5qs-0006YX-88 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 04:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2024 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71998 X-GNU-PR-Package: emacs Original-Received: via spool by 71998-submit@debbugs.gnu.org id=B71998.172146558625135 (code B ref 71998); Sat, 20 Jul 2024 08:54:02 +0000 Original-Received: (at 71998) by debbugs.gnu.org; 20 Jul 2024 08:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:51668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV5px-0006XK-RV for submit@debbugs.gnu.org; Sat, 20 Jul 2024 04:53:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV5pv-0006Wo-0x for 71998@debbugs.gnu.org; Sat, 20 Jul 2024 04:53:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sV5po-0000B6-Ti; Sat, 20 Jul 2024 04:52:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LLCIcbWxSDkKhXz7JNeicGbUPDTcguTR3oSEeV9Vr88=; b=UyHfdOGhNIgB bPXYTvLpWWd7IRcWsWfIncrjiVRkRvGHa1cEQ8OpaexeP2Gchqpm/AP/ctrXlcYoBE/kwdjA2gyrJ 4Wf1dkhpJaw7gJh7PYNmN+LURUdbzfaZu1INbiiejZJNLolDnjJygDooh+g6TW/YI9+HnHg9XRkoC yAZX2Afvn27DF/U6OLyLG3DpwLQ1VJJvZxr72QONCo2KV7s0ALVwObXd38VrovY+DGpE9jFb93iVN 8jI7FmJrRP4tGsHXC5ICGCV3TjLyfAtdkbLGW8AflKfqrUuhKalqHGJrxwlivzNWKoW2UKoTxq+sZ uwRvNn07plRfv/0MmCuoFg==; In-Reply-To: <87cynclwhm.fsf@pub.pink> (message from john muhl on Tue, 16 Jul 2024 18:59:01 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289015 Archived-At: > From: john muhl > Date: Tue, 16 Jul 2024 18:59:01 -0500 > > john muhl writes: > > > The newly released version 0.21.2 of the typescript grammar caused > > the typescript-ts-mode tests to start failing. > > I was mistaken about the new grammar breaking the test (it just > made it visible). Replacing it with: > > =-= > const foo = (props) => { > return ( >
>
>
>
> { > props.foo > ? Hello, foo! > : Hello, World!; > } >
>
>
>
> ); > } > =-= > const foo = (props) => { > return ( >
>
>
>
> { > props.foo > ? Hello, foo! > : Hello, World!; > } >
>
>
>
> ); > } > =-=-= > > and running with older grammars (0.19,20,21) also fails. Theo, any ideas, comments or suggestions?