Type constraint ClassName does not work

[email protected] (Ernesto)
Newsgroups perl.moose
Message-ID <[email protected]>
Hi Stevan,

seems like I found a strange bug at the type constraint ClassName.

Using ClassName as TC in an object, it fails - while using it as
exported function, it works.

Moreover, copying the exact type definition of ClassName from
Moose::Util::TypeConstraints into an own package or into an object
itself, all works as expected.

Sorry, I have no idea, how comes.

Please have a look at
http://dienstleistung-kultur.de/moose/06_classname.t.txt

	Ernesto

P.S.: My environment:
Perl v5.8.8 on Debian 4.0 Etch
Moose 0.44
Class::MOP 0.55
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.