[svn:parrot] r49628 - in trunk: . lib/Parrot/Pmc2c
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Fri Oct 22 00:53:46 UTC 2010
Author: jkeenan
Date: Fri Oct 22 00:53:46 2010
New Revision: 49628
URL: https://trac.parrot.org/parrot/changeset/49628
Log:
Per http://trac.parrot.org/parrot/ticket/1785, complete a deprecation by changing a 'warn' to a 'die' in lib/Parrot/Pmc2c/PMC.pm.
Modified:
trunk/DEPRECATED.pod
trunk/lib/Parrot/Pmc2c/PMC.pm
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Thu Oct 21 23:30:10 2010 (r49627)
+++ trunk/DEPRECATED.pod Fri Oct 22 00:53:46 2010 (r49628)
@@ -143,14 +143,6 @@
L<https://trac.parrot.org/parrot/ticket/1564>
-=item Behavior of Parrot::Pmc2c::PMC::add_method() [eligible in 2.10]
-
-Duplicated vtable functions currently generate only a warning; after deadline,
-they will cause a C<die> and failure to build Parrot or any HLL
-using this method.
-
-L<http://trac.parrot.org/parrot/ticket/1785>
-
=back
=head1 Opcodes
Modified: trunk/lib/Parrot/Pmc2c/PMC.pm
==============================================================================
--- trunk/lib/Parrot/Pmc2c/PMC.pm Thu Oct 21 23:30:10 2010 (r49627)
+++ trunk/lib/Parrot/Pmc2c/PMC.pm Fri Oct 22 00:53:46 2010 (r49628)
@@ -71,7 +71,7 @@
# methods
sub add_method {
my ( $self, $method ) = @_;
- warn "FATAL ERROR: Duplicated VTABLE function: " . $method->name
+ die "FATAL ERROR: Duplicated VTABLE function: " . $method->name
if exists $self->{has_method}{$method->name};
$self->{has_method}{ $method->name } = @{ $self->{methods} };
push @{ $self->{methods} }, $method;
More information about the parrot-commits
mailing list