Subject: | break-at-old-comma-breakpoints still mangles “map” |
Date: | Mon, 15 Sep 2014 11:19:57 -0500 |
To: | bug-Perl-Tidy [...] rt.cpan.org |
From: | Felipe Gasper <felipe [...] felipegasper.com> |
Hello,
============================
##### - BEFORE:
#tidyoff
my %foo = (
alpha => 1,
beta => 2,
gamma => 3,
);
my @bar = map { {
number => $_,
character => chr $_,
padding => (' ' x $_),
} } ( 0 .. 32 );
#tidyon
##### - AFTER:
my %foo = (
alpha => 1,
beta => 2,
gamma => 3,
);
my @bar = map { { number => $_, character => chr $_, padding => ( ' ' x
$_ ), } } ( 0 .. 32 );
============================
Should “break-at-old-comma-breakpoints” not have left that “map” as it
was, without combining everything onto a single line?
Thank you!
-Felipe Gasper
Houston, TX