Skip to content

System.InvalidProgramException for Sorting and comparison function #499

@bluewingHuang

Description

@bluewingHuang

I have some samples for sorting and comparison that compile successfully but throw an InvalidProgramException when the compiled function is executed. The expression tree does compile correctly with the .NETs Compile() method.

[Unittest code]
https://github.com/bluewingHuang/FastExpressionCompiler/blob/SortCompileError/CompileTest/SortCompilerTests.cs

[Unittest project ]
https://github.com/bluewingHuang/FastExpressionCompiler/tree/SortCompileError/CompileTest

.NET Version: 6.0
FEC Version: v5.4.0

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions