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