refactor constructor inlining to reuse attribute code
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Bool / unset.pm
index a9d64fb..8d8c7b6 100644 (file)
@@ -23,9 +23,10 @@ sub _maximum_arguments { 0 }
 sub _potential_value { 0 }
 
 sub _inline_optimized_set_new_value {
-    my ( $self, $inv, $new, $slot_access ) = @_;
+    my $self = shift;
+    my ($inv, $new, $slot_access) = @_;
 
-    return "$slot_access = 0";
+    return $slot_access . ' = 0;';
 }
 
 no Moose::Role;