# otherwise, it is non-structural if it is decorated
# by type information.
# For example, the '{' here is non-structural: ${xxx}
+ # Removed '::' to fix c074
+ ## $last_nonblank_token =~ /^([\$\@\*\&\%\)]|->|::)/
return (
- $last_nonblank_token =~ /^([\$\@\*\&\%\)]|->|::)/
+ $last_nonblank_token =~ /^([\$\@\*\&\%\)]|->)/
# or if we follow a hash or array closing curly brace or bracket
# For example, the second '{' in this is non-structural: $a{'x'}{'y'}
=over 4
+=item B<Improve formatting of some Moose structures>
+
+In some structures used in Moose coding, some asymmetrical container breaks
+were being caused by the braces being tokenized as hash braces rather than
+block braces. This was also causing some unwanted warning messages.
+
+ # OLD
+ ::is(
+ ::exception { has '+bar' => ( default => sub { 100 } );
+ },
+ undef,
+ '... extended the attribute successfully'
+ );
+
+ # NEW
+ ::is(
+ ::exception {
+ has '+bar' => ( default => sub { 100 } );
+ },
+ undef,
+ '... extended the attribute successfully'
+ );
+
+This fixes issue c074.
+
+12 Oct 2021.
+
=item B<Fix issue c081, -cscw preventing deletion of closing side comments>
Random testing revealed a problem in which an old closing side comment was not