reset handlemoose state on mutation
[gitmo/Moo.git] / xt / lib / ExampleMooRoleWithAttribute.pm
index a1f1884..6306d11 100644 (file)
@@ -1,6 +1,9 @@
 package ExampleMooRoleWithAttribute;;
 use Moo::Role;
 # Note that autoclean here is the key bit!
+# It causes the metaclass to be loaded and used before the 'has' fires
+# so Moo needs to blow it away again at that point so the attribute gets
+# added
 use namespace::autoclean;
 
 has output_to => (