KEMBAR78
Fix changes due to eval order fix by siegfriedpammer · Pull Request #3440 · icsharpcode/ILSpy · GitHub
Skip to content

Conversation

siegfriedpammer
Copy link
Member

@siegfriedpammer siegfriedpammer commented Mar 29, 2025

Reason: Recent changes in the runtime as well as Roslyn fixing an eval order bug of constrained calls.

Link to issue(s) this covers
#3438
#3419

I will clean up the PR before merge.

@siegfriedpammer
Copy link
Member Author

@dgrunwald I was able to fix most of the problems. However, there are a few test cases still failing because of weird codegen with redundant assignments such as val = val; and I would like your opinion/guidance on how to approach those. Thanks!

@siegfriedpammer siegfriedpammer force-pushed the bugfix/constrained-call-targets branch 2 times, most recently from 00e9197 to d987828 Compare April 7, 2025 20:43
@siegfriedpammer siegfriedpammer force-pushed the bugfix/constrained-call-targets branch from d987828 to 6c72d1c Compare April 7, 2025 21:10
@siegfriedpammer siegfriedpammer merged commit dba836c into master Apr 8, 2025
9 checks passed
@siegfriedpammer siegfriedpammer deleted the bugfix/constrained-call-targets branch July 8, 2025 05:17
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.

Wrong ref expression : CS8374 Error CS8374 Cannot ref-assign 'val' to 'reference' because 'val' has a narrower escape scope than 'reference'

1 participant