Skip to content

Conversation

@daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Sep 4, 2019

Reverts #10454

It turns out this optimization brings in a breaking change (see #10477 (comment)): $MyInvocation is different comparing to before the optimization change. I tried to fix the breaking change, but couldn't without introducing more hacky code. Given that, that PR should be reverted.

@daxian-dbw daxian-dbw merged commit f6c220c into master Sep 5, 2019
@daxian-dbw daxian-dbw deleted the revert-10454-foreach branch September 5, 2019 05:12
@adityapatwardhan adityapatwardhan added the CL-NotInBuild Indicates that a PR is reverted and not part of the build. label Sep 5, 2019
@TravisEz13 TravisEz13 added this to the 7.0.0-preview.4 milestone Sep 5, 2019
TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Sep 14, 2019
…narios" (PowerShell#10485)

It turns out this optimization brings in a breaking change: `$MyInvocation` is different comparing to before the optimization change. I tried to fix the breaking change, but couldn't without introducing more hacky code. Given that, that PR should be reverted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-NotInBuild Indicates that a PR is reverted and not part of the build.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants