Add test in Class:MOP for ->identifier() and immutable not playing nice. Fix by makin...
authorTomas Doran <bobtfish@bobtfish.net>
Fri, 16 May 2008 01:35:00 +0000 (01:35 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Fri, 16 May 2008 01:35:00 +0000 (01:35 +0000)
commit53299a7b3705f1a4d21784404e5ea1a92b779675
tree78500b4636de83cecee7b728a1460e536b6fa5db
parent9e517e010380b50d0cfec15cdc893536fb3c84d0
Add test in Class:MOP for ->identifier() and immutable not playing nice. Fix by making ::Immutable take a new around option (with the semantics you would expect) to wrap methods. Wrap add_package_symbol thusly, erroring out with the error suggested by stevan in #moose
lib/Class/MOP/Class.pm
lib/Class/MOP/Immutable.pm
t/070_immutable_metaclass.t