[IronPython] DLR: ActionBinder and ParseSourceCode
ironpython at programuok.com
Thu Mar 27 07:23:09 CET 2008
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.
More information about the Ironpython-users