Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with unbound Parameters #192

Merged
merged 7 commits into from
Oct 13, 2022
Merged

Conversation

magicmoux
Copy link
Contributor

@magicmoux magicmoux commented Oct 12, 2022

@hazzik Alex,

PR #190 seems to solve nicely the changes I proposed in Processor.cs from #185

The implementation however raises a runtime issue when executing the query against a provider (unit test is /src/DelegateDecompiler.EntityFramework.Tests/TestGroup90AdditionalFeatures/Test01Issue152.cs).

The problem seems to be caused by the invocation of the compiled expression (OptimizeExpressionVisitor.cs#L455)
In the output Quoted lambda, ParameterExpressions instances in the body are not references to the Quoted Lambda corresponding Parameter.

@hazzik
Copy link
Owner

hazzik commented Oct 13, 2022

😭 it is either develop or your change...

@hazzik hazzik enabled auto-merge (squash) October 13, 2022 03:19
@hazzik hazzik merged commit 25f6b1d into hazzik:develop Oct 13, 2022
@hazzik hazzik changed the title Fix issue with uwrapped Parameters Fix issue with unbound Parameters Oct 13, 2022
@hazzik
Copy link
Owner

hazzik commented Oct 17, 2022

This has been released in 0.31.0. Please consider ❤️ supporting the project.

billybraga pushed a commit to billybraga/DelegateDecompiler that referenced this pull request Nov 3, 2023
+semver:feature

Co-authored-by: Alex Zaytsev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants