GNU bug report logs - #71998
31.0.50; Typescript grammar v0.21.2 causes test failure

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Mon, 8 Jul 2024 15:14:01 UTC

Severity: normal

Found in version 31.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 71998 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: john muhl <jm <at> pub.pink>, Theodor Thornhill <theo <at> thornhill.no>
Cc: 71998 <at> debbugs.gnu.org
Subject: Re: bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure
Date: Sat, 20 Jul 2024 11:52:55 +0300
> From: john muhl <jm <at> pub.pink>
> Date: Tue, 16 Jul 2024 18:59:01 -0500
> 
> john muhl <jm <at> pub.pink> 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 (
>   <div>
>   <div>
>   <div>
>   <div>
>   {
>   props.foo
>   ? Hello, foo!
>   : Hello, World!;
>   }
>   </div>
>   </div>
>   </div>
>   </div>
>   );
>   }
>   =-=
>   const foo = (props) => {
>     return (
>       <div>
>         <div>
>           <div>
>             <div>
>               {
>                 props.foo
>                   ? Hello, foo!
>                   : Hello, World!;
>               }
>             </div>
>           </div>
>         </div>
>       </div>
>     );
>   }
>   =-=-=
> 
> and running with older grammars (0.19,20,21) also fails.

Theo, any ideas, comments or suggestions?




This bug report was last modified 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.