Don't call meta instance related methods unconditionally in HasAttributes.
authorDave Rolsky <autarch@urth.org>
Thu, 17 Dec 2009 17:22:56 +0000 (11:22 -0600)
committerDave Rolsky <autarch@urth.org>
Thu, 17 Dec 2009 17:22:56 +0000 (11:22 -0600)
commit2d413af5a93064413d7b005150623ab1d70bb25e
tree0c558c1af48e7641d03257be1e81a44f81d92503
parentb71bd1cded366fe62f4a44471908dd57a8686077
Don't call meta instance related methods unconditionally in HasAttributes.

Move get_all_attributes back to CMOP::Class, since it only makes sense for
things with inheritance.
lib/Class/MOP/Class.pm
lib/Class/MOP/HasAttributes.pm