Skip to content

Conversation

adamsitnik
Copy link
Member

This is a fix for bug reported by @stephentoub in dotnet/corefx#40377

@adamsitnik adamsitnik added this to the v0.11.6 milestone Aug 20, 2019
@adamsitnik adamsitnik merged commit ea0468f into master Aug 20, 2019
@adamsitnik adamsitnik deleted the ienumerableArgument branch August 20, 2019 16:22
mawosoft added a commit to mawosoft/BenchmarkDotNet that referenced this pull request Jul 17, 2022
SmartParameter codegen must use the target type for casting, not the type of the source value.
Basically, this is a follow up to PR dotnet#1228 (1678a49), which fixed this problem for SmartArgument.
Fixes dotnet#2011.
adamsitnik pushed a commit that referenced this pull request Jul 21, 2022
* Bugfix SmartParameter source code generation

SmartParameter codegen must use the target type for casting, not the type of the source value.
Basically, this is a follow up to PR #1228 (1678a49), which fixed this problem for SmartArgument.
Fixes #2011.

* Tests added.

* Applying code review suggestions; code clean-up.
PR fixes the following issues: fixes #2011, fixes #1812, fixes #1177.
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.

1 participant