Merge branch 'metadata' into mooseish-types
Lukas Mai [Wed, 14 Nov 2012 14:12:23 +0000 (15:12 +0100)]
1  2 
MANIFEST
Parameters.xs

diff --cc MANIFEST
Simple merge
diff --cc Parameters.xs
@@@ -1326,10 -1068,9 +1328,10 @@@ static int parse_fun(pTHX_ Sentinel sen
                                                croak("In %"SVf": can't combine optional positional (%"SVf") and required named (%"SVf") parameters", SVfARG(declarator), SVfARG(param_spec->positional_optional.data[0].param.name), SVfARG(name));
                                        }
  
-                                       Param *p = pv_extend(&param_spec->named_required);
+                                       p = pv_extend(&param_spec->named_required);
                                        p->name = name;
                                        p->padoff = padoff;
 +                                      p->type = type;
                                        param_spec->named_required.used++;
                                }
                        } else {