Ernesto,

You are correct, this is a bug. It seems to be a leftover edge case from the recent "undef" fix. It is now fixed in source control (and your test has been added), and I will be releasing this new version very soon.

- Stevan

On Feb 11, 2008, at 10:08 AM, Ernesto wrote:

Hi,

at $work I was looking for an OO frame work and found the excellent
postmodern Moose stuff. I'm working on the migration of a partly
object-based system with MySQL-Backend to a real object-based system.

Playing with new types I realized a strange behaviour - or maybe I'm
doing something wrong:

Exporting TCs as functions, they behave as expected for an undefined
value , but not when using them in an object.

I wrote a little test - please check out:

http://dienstleistung-kultur.de/moose/01_types_manuel.t.txt

Xanx!

Yours,

        Ernesto







Reply via email to