Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix PSModuleInfo.CaptureLocals to not do ValidateAttribute check when capturing variables from the caller's scope#3149

Merged
daxian-dbw merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
daxian-dbw:fix-GetNewClosuredaxian-dbw/PowerShell:fix-GetNewClosureCopy head branch name to clipboard
Feb 17, 2017
Merged

Fix PSModuleInfo.CaptureLocals to not do ValidateAttribute check when capturing variables from the caller's scope#3149
daxian-dbw merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
daxian-dbw:fix-GetNewClosuredaxian-dbw/PowerShell:fix-GetNewClosureCopy head branch name to clipboard

Conversation

@daxian-dbw

Copy link
Copy Markdown
Member

fix #3144

… capturing variables from the caller's scope
@PowerShellTeam PowerShellTeam added the Review - Needed The PR is being reviewed label Feb 16, 2017
@daxian-dbw

daxian-dbw commented Feb 16, 2017

Copy link
Copy Markdown
Member Author

I added a comment in test per requested by @dantraMSFT. Nothing is changed in code/script.

@lzybkr lzybkr self-assigned this Feb 16, 2017
@daxian-dbw daxian-dbw merged commit 5a8fa57 into PowerShell:master Feb 17, 2017
@daxian-dbw daxian-dbw deleted the fix-GetNewClosure branch February 17, 2017 05:25
@iSazonov iSazonov removed the Review - Needed The PR is being reviewed label Mar 27, 2017
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.

ScriptBlock.GetNewClosure() unexpectedly tries to include unbound parameters that have validation attributes, causing errors

6 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.