refactor the default type constraint message logic a bit
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint / Role.pm
index a69e6cd..d1e6dbc 100644 (file)
@@ -34,7 +34,7 @@ sub new {
 
     $args{inlined} = $inliner;
 
-    my $self = $class->_new( \%args );
+    my $self = $class->SUPER::new( \%args );
 
     $self->_create_hand_optimized_type_constraint;
     $self->compile_type_constraint();