return $self->_inline_check_member_constraint($new_value);
}
else {
- return $self->_inline_check_coercion($potential_value) . "\n"
- . $self->_inline_check_constraint($potential_value);
+ return $self->_inline_check_coercion( '\\' . $potential_value ) . "\n"
+ . $self->_inline_check_constraint( '\\' . $potential_value );
}
}
# just the members.
return 1
if $tc->parent->name eq 'ArrayRef'
- && !$tc->constraint;
+ && $tc->isa('Moose::Meta::TypeConstraint::Parameterized');
return 0;
}
return q{} unless $self->_constraint_must_be_checked;
- return $self->SUPER::_inline_check_constraint( '\\' . $_[0] );
+ return $self->SUPER::_inline_check_constraint( $_[0] );
}
sub _capture_old_value { return q{} }