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