Subject: Re: bug#29798: 24.3; Javascript: Too much indentation with + and -

From: Stefan Kangas <[email-masked]>
Date: Mon, 10 Aug 2020 08:31:59 -0700

found 29798 28.0.50
thanks

Gavin Haynes <[email-masked]> writes:

> Write the following in a .js file: { -2, 2, +2 } Then, put your cursor
> over each line and press tab to indent it. The lines having -2 and +2
> get twice as much indentation as expected. The line having just 2 has
> the correct indentation.

I can reproduce this on current master.  I see the following
indentation:

{
-2,
    2,
 +2
}

Best regards,
Stefan Kangas