GNU bug report logs - #32158
26.1; Broken JSX indentation in case of arrow function passing to props

Previous Next

Package: emacs;

Reported by: Valentin Ignatev <valentignatev <at> gmail.com>

Date: Sat, 14 Jul 2018 16:11:02 UTC

Severity: minor

Merged with 24896, 26001, 30225

Found in versions 26.1, 27.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Jackson Ray Hamilton <jackson <at> jacksonrayhamilton.com>,
 32158 <at> debbugs.gnu.org
Cc: valentignatev <at> gmail.com
Subject: Re: bug#32158: 26.1; Broken JSX indentation in case of arrow function
 passing to props
Date: Wed, 5 Jun 2019 13:58:09 +0300
On 05.06.2019 6:19, Jackson Ray Hamilton wrote:
> A set of changes I pushed to the Emacs master branch 2 months ago should 
> resolve this issue.  (First fixed in 1a1ef28518, but there were several 
> commits after that when I broke/fixed it again.  The master branch is 
> your best bet.)

Jackson, here's a slight variation on this example that looks problematic:

const foo = (props) => (
    <div>
    <input
  cat={i => i} />

  </div>
);

(Note the empty line)

That seems incorrect to me.




This bug report was last modified 5 years and 349 days ago.

Previous Next


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