--maximum-line-length=55
--weld-nested-containers
+==> b1179.in <==
+# -bom and -scp were interfering
+# S1
+ $resource = {
+ id => $package->new_from_mana(
+ $result->{data}
+ )->id
+ };
+
+# S2
+ $resource = { id => $package->new_from_mana(
+ $result->{data} )->id };
+
+# Stable
+ $resource = { id => $package->new_from_mana(
+ $result->{data}
+ )->id };
+
+==> b1179.par <==
+--break-at-old-method-breakpoints
+--indent-columns=8
+--maximum-line-length=60
+--stack-closing-paren
+
==> b120.in <==
# Same as bug96
# State 1
# See case b499 for an example.
return $rvertical_tightness_flags if ($rOpts_freeze_whitespace);
+ my $rwant_container_open = $self->[_rwant_container_open_];
+
# Uses these parameters:
# $rOpts_block_brace_tightness
# $rOpts_block_brace_vertical_tightness
if ( $is_closing_token{$token_end}
&& $is_closing_token{$token_beg_next} )
{
+
+ # avoid instability of combo -bom and -sct; b1179
+ my $seq_next = $type_sequence_to_go[$ibeg_next];
$stackable = $stack_closing_token{$token_beg_next}
- unless ( $block_type_to_go[$ibeg_next] )
- ; # shouldn't happen; just checking
+ unless ( $block_type_to_go[$ibeg_next]
+ || $seq_next && $rwant_container_open->{$seq_next} );
}
elsif ($is_opening_token{$token_end}
&& $is_opening_token{$token_beg_next} )
=over 4
+=item B<Fix conflict of -bom and -scp parameters>
+
+Automated testing with random parameters produced a case of instability caused
+by a conflict of parameters -bom and -scp. In the following script the -bom
+command says to keep the tokens ')->' on a new line, whereas the -scp command
+says to stack the closing paren on the previous line.
+
+ $resource = {
+ id => $package->new_from_mana(
+ $result->{data}
+ )->id
+ };
+
+The parameters are:
+
+ --break-at-old-method-breakpoints
+ --indent-columns=8
+ --maximum-line-length=60
+ --stack-closing-paren
+
+This caused an instability which was fixed by giving priority to the -bom flag.
+The stable state is then
+
+ $resource = { id => $package->new_from_mana(
+ $result->{data}
+ )->id };
+
+This fixes case b1179.
+
+21 Jul 2021.
+
=item B<Fix problems with -kgb in complex structures>
This update fixes two problems involving the -kgb option.
This fixes issue c048.
-19 Jul 2021.
+19 Jul 2021, 071a3f6.
=item B<Fix to keep from losing blank lines after a code-skipping section>