Skip to content

Conversation

MartinGC94
Copy link
Contributor

PR Summary

Fixes type inference for parameters in classic function definitions where the parameters outside the scriptblock definition: function X ([string]$Param1){}

PR Context

I broke it with: #19830

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Mar 14, 2025
@iSazonov iSazonov self-assigned this Mar 18, 2025
@iSazonov

This comment was marked as outdated.

This comment was marked as outdated.

@iSazonov iSazonov merged commit 0ca17fd into PowerShell:master Mar 18, 2025
37 of 39 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Mar 18, 2025

📣 Hey @MartinGC94, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@MartinGC94 MartinGC94 deleted the FixParamInference branch March 18, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants