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 issue135 #143

Closed
wants to merge 4 commits into from
Closed

Fix issue135 #143

wants to merge 4 commits into from

Conversation

magicmoux
Copy link
Contributor

@magicmoux magicmoux commented Jan 6, 2019

hi @hazzik

I had a look on this one.
I think the issue comes from overlooking the Processor's OpCodes.Brtrue/Brtrue_S where the instruction is a LambdaExpression returning a bool.

Here is just a PR to show the solution I found for issue #135, but I'm not sure it is exhaustive or not.
Anyway it does not seem to introduce tests regression so far.

The first test's failure is expected due to difference between both expressions' debugView

@hazzik
Copy link
Owner

hazzik commented Aug 9, 2019

The duplication ( x=>x.Active??x=>x.Active) happens because the decompiled lambda is changed after the decompilation. I've fixed this problem by caching them.

@hazzik hazzik closed this Aug 9, 2019
@magicmoux magicmoux deleted the FIX-Issue135 branch August 9, 2019 09:22
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