Hi,

I wonder if that's a bug or by design.

Expression returned by Ast.Action.Operator(Operators.NotEquals,
Ast.Null(), Ast.Null()) [which I believe is equivalent to null !=
null] evaluates to True, though False could be expected (overriding
MakeRule<T> for this special case does the trick).

Having returned LambdaExpression from LanguageContext.ParseSourceCode
which has return type of void, produces
"System.InvalidProgramException : Common Language Runtime detected an
invalid program", changing return type to object solves the problem.

Marius
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to