In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/a71a1afb2287c191e69669788abc7bd83dc909a1?hp=89269094eac2074a779834560b45a2b374322023>

- Log -----------------------------------------------------------------
commit a71a1afb2287c191e69669788abc7bd83dc909a1
Author: Father Chrysostomos <[email protected]>
Date:   Thu Sep 20 09:56:18 2012 -0700

    [perl #107002] No warnings test for require a::b+1
    
    This used to produce an erroneous ambiguity warning.  The . case
    stopped warning in 5.12.0.  The + case stopped warning earlier today
    with commit c31f6d3b.
-----------------------------------------------------------------------

Summary of changes:
 t/lib/warnings/toke |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/t/lib/warnings/toke b/t/lib/warnings/toke
index 34003c2..bceb536 100644
--- a/t/lib/warnings/toke
+++ b/t/lib/warnings/toke
@@ -1294,3 +1294,11 @@ print '';
 eval this_method_is_fake ();
 EXPECT
 Undefined subroutine &main::this_method_is_fake called at - line 4.
+########
+# toke.c
+# [perl #107002] Erroneous ambiguity warnings
+sub { # do not actually call require
+  require a::b . 1; # These used to produce erroneous
+  require a::b + 1; # ambiguity warnings.
+}
+EXPECT

--
Perl5 Master Repository

Reply via email to