Comments (1)
@Alex-Dobrynin
Thanks for the example.
Looking quickly at the code, the problem probably around the DateTime
or DateTimeOffset
mapping and the nested lambda invocation.
I have found that using the flag var del = exp.CompileFast(flags: CompilerFlags.NoInvocationLambdaInlining);
work-arounds the problem.
So you may try it out until the problem is fixed.
from fastexpressioncompiler.
Related Issues (20)
- ToCSharpString outputs ? for Nullable which does not produce the compile-able code HOT 1
- ToExpressionString wrongly declares Label instead of LabelTarget array HOT 1
- Support ToCSharpString of the block in the ternary expression
- Calling a user defined == operator runs into a CLR invalid program exception HOT 2
- Optimize conditional expressions with the DefaultExpression left or right operand the same way as ConstantExpression HOT 1
- Fix and optimize the Switch support HOT 1
- Optimize Switch with OpCodes.Switch
- Coalesce nullable with 0 is not working
- Fix the direct assignment of Try to Member expression because indirect assignment through tmp var works HOT 1
- Invoke inlining is not working with collections in AutoMapper tests
- Some form of compile time branch elimination
- Diagnostics: calculate the stack population depth after each emit to expose the problematic cases
- An expression with a single parameter concatenated to a string causes 'Exception has been thrown by the target of an invocation' during delegate invocation. HOT 3
- NullReferenceException with V4.X when using long?[] HOT 2
- NullReferenceException with V4.X
- NullReferenceException when setting the Enum field
- Dictionary mapping failing when the InvocationExpression inlining is involved
- [performance] Reuse the ILGenerator used by the nested lambda compilation
- The JIT compiler encountered invalid IL code or an internal limitation HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastexpressioncompiler.