zzzprojects / Eval-Expression.NET

C# Eval Expression | Evaluate, Compile, and Execute C# code and expression at runtime.
https://eval-expression.net/
Other
459 stars 86 forks source link

EvalContext.Compile behaviour change 4.0.43 to 4.0.47 #109

Closed Cynicszm closed 3 years ago

Cynicszm commented 3 years ago

Hi,

Has the behaviour of EvalContext.Compile changed between 4.0.43 and 4.0.47?

The statement below works as expected in 4.0.43 but fails with Oops! No applicable member has been found for the expression in 4.0.47

var compiledExpression = evalContext.Compile<Func<TemplateRowReader, object>>(expression);

JonathanMagnan commented 3 years ago

Hello @Cynicszm ,

Is it possible to know the current expression you are using? Or a runnable example

That will help us to better understand what happened here.

Best Regards,

Jon

Cynicszm commented 3 years ago

Many thanks for the quick response Jon, my apologies turns out it was a dumb user error.

John

JonathanMagnan commented 3 years ago

Glad to hear that it was sorted out!

Don't hesitate to contact us with any questions, issues, or feedback!

Best regards,

Jon