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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: john muhl <jm <at> pub.pink>
Subject: bug#71998: closed (Re: bug#71998: 31.0.50; Typescript grammar
 v0.21.2 causes test failure)
Date: Sat, 01 Mar 2025 01:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71998 <at> debbugs.gnu.org.

-- 
71998: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71998
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Yuan Fu <casouri <at> gmail.com>
Cc: Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 john muhl <jm <at> pub.pink>, Theodor Thornhill <theo <at> thornhill.no>,
 Eli Zaretskii <eliz <at> gnu.org>, 71998-done <at> debbugs.gnu.org
Subject: Re: bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure
Date: Fri, 28 Feb 2025 17:42:30 -0800
Yuan Fu <casouri <at> gmail.com> writes:

>> On Feb 23, 2025, at 6:11 PM, john muhl <jm <at> pub.pink> wrote:
>>
>> Mattias Engdegård <mattias.engdegard <at> gmail.com> writes:
>>
>>>> The newly released version 0.21.2 of the typescript grammar caused
>>> the typescript-ts-mode tests to start failing.
>>>
>>> I still get the exact same test error on master. Is this supposed to be fixed?
>>
>> I’m still seeing this test failure and a after a little poking
>> around I found that setting indent-tabs-mode to nil after changing
>> the major mode in the test setup fixes it for me. I don’t
>> understand why that’s a problem here and not in other tests but I
>> tested it on two different systems and they both pass now.
>
> Thanks Mattias, I applied you patch.
>
>> p.s. While looking around I noticed that tree-sitter reports
>> errors in the code of the “JSX indentation” test. Looks like the
>> values after the ? & : should be quoted but I don’t know anything
>> about TS/JSX.
>
> You’re right, they should be quoted. And there shouldn’t be a semi-colon at the
> end either, since the whole things is supposed to be an expression rather than a
> statement.
>
> I applied another patch that fixed it.

It seems like the patches were applied here, so I'm closing this bug.

[Message part 3 (message/rfc822, inline)]
From: john muhl <jm <at> pub.pink>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; Typescript grammar v0.21.2 causes test failure
Date: Mon, 08 Jul 2024 10:11:04 -0500
[Message part 4 (text/plain, inline)]
The newly released version 0.21.2 of the typescript grammar caused
the typescript-ts-mode tests to start failing.

[typescript-ts-mode-tests.log (text/plain, attachment)]

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.