Skip to content

ExpressionComparer Block Support? #281

Answered by snikolayev
a046 asked this question in Q&A
Discussion options

You must be logged in to vote

@a046 the initial set of expressions was indeed selected based on what's possible to represent as an expression tree with fluent API, given what's supported by the compiler. And, as you said, the compiler does not support block expressions. And more expressions were added based on bug reports and feature requests from the community. I don't think there is a fundamental reason preventing comparison of block expressions, just a matter of a need. And so far there was none.
There may be a compromise solution though - just treat unsupported types of expressions as not equal, hence give up node sharing, but at least not fail rule compilation. Does that sound like a reasonable path forward to you?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@a046
Comment options

@snikolayev
Comment options

@a046
Comment options

@snikolayev
Comment options

Answer selected by a046
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants