Fix issues on 5.6.2
[gitmo/Mouse.git] / lib / Mouse / Meta / Attribute.pm
index d356c74..1946c96 100644 (file)
@@ -230,6 +230,7 @@ sub interpolate_class{
         }
 
         if (@traits) {
+            warn "traits [@traits] for $class\n";
             $class = Mouse::Meta::Class->create_anon_class(
                 superclasses => [ $class ],
                 roles        => \@traits,
@@ -562,9 +563,9 @@ on success, otherwise C<confess>es.
 Creates a new attribute in the owner class, inheriting options from parent classes.
 Accessors and helper methods are installed. Some error checking is done.
 
-=item C<< get_read_method_ref >>\r
+=head2 C<< get_read_method_ref >>\r
 \r
-=item C<< get_write_method_ref >>\r
+=head2 C<< get_write_method_ref >>\r
 \r
 Returns the subroutine reference of a method suitable for reading or\r
 writing the attribute's value in the associated class. These methods\r