[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure
From: |
Theodor Thornhill |
Subject: |
bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure |
Date: |
Sat, 20 Jul 2024 12:01:22 +0200 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: john muhl <jm@pub.pink>
>> Date: Tue, 16 Jul 2024 18:59:01 -0500
>>
>> john muhl <jm@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?
Yeah, it seems it is one of the compat-functions that causes this,
afaict. Taking a look right now. Probably should be possible to catch
some errors here.
Theo
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, john muhl, 2024/07/08
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Stefan Kangas, 2024/07/08
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, john muhl, 2024/07/16
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Eli Zaretskii, 2024/07/20
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure,
Theodor Thornhill <=
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Theodor Thornhill, 2024/07/20
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Theodor Thornhill, 2024/07/21
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, john muhl, 2024/07/21
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Eli Zaretskii, 2024/07/21
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, john muhl, 2024/07/21
- bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure, Yuan Fu, 2024/07/21