stop closing over the method metaobject
authorJesse Luehrs <doy@tozt.net>
Mon, 25 Apr 2011 17:13:51 +0000 (12:13 -0500)
committerJesse Luehrs <doy@tozt.net>
Tue, 17 May 2011 23:53:38 +0000 (18:53 -0500)
commitbcc04ae144478d804246a90cbccc5f2b857935b3
treeed438e21ba65a7a3bc66d225fc8dc4dd2893a6c7
parentaa5bb362a4a2abe803c486688d7fca62a46c89ab
stop closing over the method metaobject

changed this to close over the class metaobject if we're using a custom
error class, but there's no real way around that. the whole error system
really needs to be thrown out and redone anyway.
lib/Moose/Error/Confess.pm
lib/Moose/Error/Croak.pm
lib/Moose/Error/Default.pm
lib/Moose/Meta/Attribute.pm
lib/Moose/Meta/Class.pm
lib/Moose/Meta/Method.pm
lib/Moose/Meta/Method/Accessor.pm
lib/Moose/Meta/Method/Constructor.pm
t/metaclasses/throw_error.t