nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

no Prototype mismatch warning #279

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

> perlcc -r -e 'use warnings; my $w = q{}; local $SIG{__WARN__} = sub { $w = 
$_[0] }; sub abc (); *abc = sub { }; print "ok\n" if $w =~ qr/Prototype 
mismatch/;'

What is the expected output? What do you see instead?

> perl -e 'use warnings; my $w = q{}; local $SIG{__WARN__} = sub { $w = $_[0] 
}; sub abc (); *abc = sub { }; print "ok\n" if $w =~ qr/Prototype mismatch/;'
ok

Please use labels and text to provide additional information.

Original issue reported on code.google.com by nicolas....@gmail.com on 24 Jan 2014 at 12:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ok technically

Original comment by todd.e.rinaldo on 31 Jan 2014 at 12:08

GoogleCodeExporter commented 9 years ago
this fails only because the empty subs are not stored

Original comment by reini.urban on 31 Jan 2014 at 6:31

GoogleCodeExporter commented 9 years ago
t/C-COMPILED/CORE--op--gv==SIG-279-280-282.t passes all tests with 1.43_05

Original comment by reini.urban on 31 Jan 2014 at 7:38

GoogleCodeExporter commented 9 years ago
verified fixed

Original comment by nicolas....@gmail.com on 6 Feb 2014 at 8:35