Make sure imported functions don't require disambiguation
Shawn M Moore [Tue, 28 Apr 2009 10:10:01 +0000 (06:10 -0400)]
t/DynamicMoose/RequireMethodModifiers.run

index 5b59485..ad9b1d1 100644 (file)
@@ -254,3 +254,19 @@ extends 'Parent';
 
 before foo => sub {};
 sub foo {}
+
+#-----------------------------------------------------------------------------
+
+## name Imported functions
+## failures 0
+## cut
+
+package Parent;
+use Moose;
+use List::Util 'reduce';
+
+package Child;
+use Moose;
+extends 'Parent';
+use List::Util 'reduce';
+