sub initialize_slot {
my ($self, $instance, $slot_name) = @_;
- #$self->set_slot_value($instance, $slot_name, undef);
+ return;
}
sub deinitialize_slot {
sub inline_initialize_slot {
my ($self, $instance, $slot_name) = @_;
- $self->inline_set_slot_value($instance, $slot_name, 'undef'),
+ return '';
}
sub inline_deinitialize_slot {
'... got the right code for set_slot_value');
is($C->inline_initialize_slot($instance, $slot_name),
- '$self->{"foo"} = undef',
+ '',
'... got the right code for initialize_slot');
is($C->inline_is_slot_initialized($instance, $slot_name),
'... got the right code for set_slot_value');
is($C->inline_initialize_slot($instance, $slot_name),
- '$_[0]->{$attr_name} = undef',
+ '',
'... got the right code for initialize_slot');
is($C->inline_is_slot_initialized($instance, $slot_name),