Yes, your assumption is right :) We have a test that says todo. Tomas
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Kelly Sent: Tuesday, February 19, 2008 4:31 AM To: [email protected] Subject: [Ironruby-core] defined? bug I assume this is just one of the many features that is yet to be fully implemented, but there was no TODO comment in the code, so I thought I'd mention that the current implementation of the defined? function in AstNodeDescriptionExpression.TransformRead is overly simplistic. For example, it always returns "constant" for the expression: defined? Foo where as it should return nil if constant Foo hasn't been initialized. In general, each type of expression has it's own semantics as to when it is considered defined. Cheers, Wayne. _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
