This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: Move compile-time const deref checking
authorFather Chrysostomos <sprout@cpan.org>
Sun, 7 Sep 2014 19:15:32 +0000 (12:15 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 7 Sep 2014 20:25:36 +0000 (13:25 -0700)
This is a change in behaviour, so it should be more prominent than the
bug fixes, but it is not a backward-incompatible change (some code no
longer dies that used to), nor it is really a new feature.  Putting it
in Diagnostics is the best I can come up with.

pod/perldelta.pod

index abd428e..1cbcc41 100644 (file)
@@ -263,6 +263,14 @@ XXX Describe change here
 
 =item *
 
+"Constant is not a FOO reference"
+
+Compile-time checking of constant dereferencing (e.g.,
+C<< my_constant->() >>) has been removed, since it was not taking
+overloading into account.  [perl #69456] [perl #122607]
+
+=item *
+
 The warning "Ambiguous use of -foo resolved as -&foo()" has been removed.
 There is actually no ambiguity here, and this impedes the use of negated
 constants; e.g., C<-Inf>.
@@ -401,12 +409,6 @@ XXX
 
 =item *
 
-Compile-time checking of constant dereferencing (e.g.,
-C<< my_constant->() >>) has been removed, since it was not taking
-overloading into account.  [perl #69456] [perl #122607]
-
-=item *
-
 Constant dereferencing now works correctly for typeglob constants.
 Previously the glob was stringified and its name looked up.  Now the glob
 itself is used.  [perl #69456]