class Rakudo::Guts {
    sub add_handles_method_helper(Mu $metaclass, $attr, $meth_name, $meth_rename = $meth_name) {
        $metaclass.add_method($metaclass, $meth_name, (method (|$c) {
            pir::getattribute__PPS(self, $attr)."$meth_rename"(|$c); 
        }).clone()); 
    }

    method add_handles_method(Mu $metaclass, $attr_name, $expr) {
        given $expr {
           when Str { add_handles_method_helper($metaclass, $attr_name, $expr); }
           when Parcel { 
               for $expr.list -> $x { add_handles_method($metaclass, $attr_name, $x); }
           }
           when Pair { 
               add_handles_method_helper($metaclass, $attr_name, $expr.key, $expr.value);
           }
           default { die sprintf("add_handles_method can't handle %s in list", $expr.WHAT); }
        }
    }
}

class Rakudo::Guts {
    sub add_handles_method_helper(Mu $metaclass, $attr, $meth_name, $meth_rename = $meth_name) {
        $metaclass.add_method($metaclass, $meth_name, (method (|$c) {
            pir::getattribute__PPS(self, $attr)."$meth_rename"(|$c); 
        }).clone()); 
    }

    method add_handles_method(Mu $metaclass, $attr_name, $expr) {
        given $expr {
            when Str { add_handles_method_helper($metaclass, $attr_name, $expr); }
            when Parcel { 
                for $expr.list -> $x {
                    self.add_handles_method($metaclass, $attr_name, $x);
                }
            }
            when Pair { 
                add_handles_method_helper($metaclass, $attr_name, $expr.key, $expr.value);
            }
            default { die sprintf("add_handles_method can't handle %s in list", $expr.WHAT); }
        }
    }
}

Fix a thinko and whitespace.
Fix a thinko and whitespace.
