Ticket #1785: tt1785_final.diff
File tt1785_final.diff, 1.1 KB (added by jkeenan, 11 years ago) |
---|
-
DEPRECATED.pod
143 143 144 144 L<https://trac.parrot.org/parrot/ticket/1564> 145 145 146 =item Behavior of Parrot::Pmc2c::PMC::add_method() [eligible in 2.10]147 148 Duplicated vtable functions currently generate only a warning; after deadline,149 they will cause a C<die> and failure to build Parrot or any HLL150 using this method.151 152 L<http://trac.parrot.org/parrot/ticket/1785>153 154 146 =back 155 147 156 148 =head1 Opcodes -
lib/Parrot/Pmc2c/PMC.pm
71 71 # methods 72 72 sub add_method { 73 73 my ( $self, $method ) = @_; 74 warn"FATAL ERROR: Duplicated VTABLE function: " . $method->name74 die "FATAL ERROR: Duplicated VTABLE function: " . $method->name 75 75 if exists $self->{has_method}{$method->name}; 76 76 $self->{has_method}{ $method->name } = @{ $self->{methods} }; 77 77 push @{ $self->{methods} }, $method;