| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6ca5c3a6-8230-e141-3cf8-0aa13bca803d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 863A:206F88:288F204:36DE99B:6A548503 |
| html-safe-nonce | 150b04cee4c49f635ca17b5cf49f9493753965c1cf03ef4fc243da5c4254c06e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjNBOjIwNkY4ODoyODhGMjA0OjM2REU5OUI6NkE1NDg1MDMiLCJ2aXNpdG9yX2lkIjoiNDMxOTc1NDI5NzA3ODQ4MjE3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f89440fd8678415f63612491431ceff45742cad3114e428635077d77f6d7e7f |
| hovercard-subject-tag | pull_request:1287999209 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/19400/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6d2d35f2016bd8d499780c2e0aaac25377dd3704c608029d890930ad4e6802eb/PowerShell/PowerShell/pull/19400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d2d35f2016bd8d499780c2e0aaac25377dd3704c608029d890930ad4e6802eb/PowerShell/PowerShell/pull/19400 |
| og:image:alt | PR Summary
Fixes an infinite loop when trying to infer $_ in the switch condition.
Now a switch is only considered a parent to $_ if the variable is after the switch condition.
Also updated VisitEr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartinGC94 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 03ccb116376fd46e8ba2a4cdc541e35f13f70734 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/19400#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19400 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19400 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/19400 |
| Reload | https://github.com/PowerShell/PowerShell/pull/19400 |
| Reload | https://github.com/PowerShell/PowerShell/pull/19400 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.3k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
288
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| MartinGC94:FixTypeInferenceCrash | https://github.com/MartinGC94/PowerShell/tree/FixTypeInferenceCrash |
| Conversation | https://github.com/PowerShell/PowerShell/pull/19400 |
| Commits1 (1) | https://github.com/PowerShell/PowerShell/pull/19400/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/19400/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/19400/files |
| Fix type inference crash | https://github.com/PowerShell/PowerShell/pull/19400#top |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| MartinGC94:FixTypeInferenceCrash | https://github.com/MartinGC94/PowerShell/tree/FixTypeInferenceCrash |
|
| https://github.com/MartinGC94 |
| MartinGC94 | https://github.com/MartinGC94 |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#issue-1638198750 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
| #19399 | https://github.com/PowerShell/PowerShell/issues/19399 |
| #17716 | https://github.com/PowerShell/PowerShell/pull/17716 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.3/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| PowerShell Editor Services | https://github.com/PowerShell/PowerShellEditorServices |
| PowerShell extension | https://github.com/PowerShell/vscode-powershell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| EditorSyntax | https://github.com/PowerShell/EditorSyntax |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
|
| https://github.com/MartinGC94 |
| Fix type inference crash | https://github.com/PowerShell/PowerShell/pull/19400/commits/0185fcc0b0c97b0de7de5249dbbadb972add6fcb |
| 0185fcc | https://github.com/PowerShell/PowerShell/pull/19400/commits/0185fcc0b0c97b0de7de5249dbbadb972add6fcb |
| https://github.com/MartinGC94 |
| MartinGC94 | https://github.com/MartinGC94 |
| daxian-dbw | https://github.com/daxian-dbw |
| code owner | https://github.com/PowerShell/PowerShell/blob/48c9d683565ed9402430a27e09410d56d52d4bfd/.github/CODEOWNERS#L58 |
| March 23, 2023 19:49 | https://github.com/PowerShell/PowerShell/pull/19400#event-8831734934 |
| daxian-dbw | https://github.com/daxian-dbw |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#event-8831735905 |
| https://github.com/apps/pull-request-quantifier-deprecated |
| pull-request-quantifier-deprecated | https://github.com/apps/pull-request-quantifier-deprecated |
|
Extra Small
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22 |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#event-8831738856 |
| https://github.com/apps/pull-request-quantifier-deprecated |
| pull-request-quantifier-deprecated | https://github.com/apps/pull-request-quantifier-deprecated |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#issuecomment-1481801805 |
| https://camo.githubusercontent.com/bb714ccf29b74f64c570dd4391b4f47ec227aa91a772fe0a5e301b4964222e58/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d5175616e746966696564266d6573736167653d4578747261253230536d616c6c26636f6c6f723d677265656e |
| PullRequestQuantifier customizations | https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md |
| context generator | https://github.com/microsoft/PullRequestQuantifier/releases |
| see context specification | https://github.com/PowerShell/PowerShell/pull/docs/prquantifier-yaml.md |
| 👍 | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiTWFydGluR0M5NCIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTQwMCIsIkV2ZW50VHlwZSI6IlRodW1ic1VwIn0=&anonymous=True |
| :ok_hand: | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiTWFydGluR0M5NCIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTQwMCIsIkV2ZW50VHlwZSI6Ik5ldXRyYWwifQ==&anonymous=True |
| :thumbsdown: | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiTWFydGluR0M5NCIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xOTQwMCIsIkV2ZW50VHlwZSI6IlRodW1ic0Rvd24ifQ==&anonymous=True |
| Email | MAILTO:prquantifier@microsoft.com |
| Customize PullRequestQuantifier | https://github.com/PowerShell/PowerShell/blob/master/.github/prquantifier.yaml |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
Mar 23, 2023
| https://github.com/PowerShell/PowerShell/pull/19400#pullrequestreview-1355646301 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/19400/files/0185fcc0b0c97b0de7de5249dbbadb972add6fcb |
| daxian-dbw | https://github.com/daxian-dbw |
| https://github.com/PowerShell/PowerShell/pull/19400#pullrequestreview-1355646301 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
| 25651ef | https://github.com/PowerShell/PowerShell/commit/25651ef6e9fdeab052bb6db191a1f473984e267f |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#event-8832739225 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
CL-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine |
| Mar 23, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#event-8832742972 |
| https://github.com/MartinGC94 |
| MartinGC94 | https://github.com/MartinGC94 |
| March 23, 2023 23:25 | https://github.com/PowerShell/PowerShell/pull/19400#event-8833336516 |
| CarloToso | https://github.com/CarloToso |
|
Apr 8, 2023
| https://github.com/PowerShell/PowerShell/pull/19400#ref-commit-1a6707d |
|
| https://github.com/stevenebutler |
| Pr/19379 ( | https://github.com/CarloToso/PowerShell/commit/1a6707d38d65f85fc96920f66a0905207a194768 |
| #1 | https://github.com/CarloToso/PowerShell/pull/1 |
| ) | https://github.com/CarloToso/PowerShell/commit/1a6707d38d65f85fc96920f66a0905207a194768 |
| 1a6707d | https://github.com/CarloToso/PowerShell/commit/1a6707d38d65f85fc96920f66a0905207a194768 |
| PowerShell#19383 | https://github.com/PowerShell/PowerShell/pull/19383 |
| PowerShell#19382 | https://github.com/PowerShell/PowerShell/pull/19382 |
| PowerShell#19383 | https://github.com/PowerShell/PowerShell/pull/19383 |
| PowerShell#19387 | https://github.com/PowerShell/PowerShell/pull/19387 |
| 190c99a | https://github.com/CarloToso/PowerShell/commit/190c99a416b6f3c7e48066eadf3943d4ddccb2d8 |
| PowerShell#19358 | https://github.com/PowerShell/PowerShell/pull/19358 |
| PowerShell#19400 | https://github.com/PowerShell/PowerShell/pull/19400 |
| PowerShell#19380 | https://github.com/PowerShell/PowerShell/pull/19380 |
| PowerShell#19374 | https://github.com/PowerShell/PowerShell/pull/19374 |
| PowerShell#19408 | https://github.com/PowerShell/PowerShell/pull/19408 |
| PowerShell#19412 | https://github.com/PowerShell/PowerShell/pull/19412 |
| PowerShell#19413 | https://github.com/PowerShell/PowerShell/pull/19413 |
| PowerShell#19414 | https://github.com/PowerShell/PowerShell/pull/19414 |
| PowerShell#19415 | https://github.com/PowerShell/PowerShell/pull/19415 |
| PowerShell#19320 | https://github.com/PowerShell/PowerShell/pull/19320 |
| PowerShell#19330 | https://github.com/PowerShell/PowerShell/pull/19330 |
| PowerShell#19332 | https://github.com/PowerShell/PowerShell/pull/19332 |
| PowerShell#19459 | https://github.com/PowerShell/PowerShell/pull/19459 |
| PowerShell#19416 | https://github.com/PowerShell/PowerShell/pull/19416 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Apr 20, 2023 | https://github.com/PowerShell/PowerShell/pull/19400#issuecomment-1516710059 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0-preview.3 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
|
Apr 20, 2023
| https://github.com/PowerShell/PowerShell/pull/19400#ref-issue-1638193365 |
|
Particular code completion crashes PowerShell
#19399
| https://github.com/PowerShell/PowerShell/issues/19399 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19400 |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
| https://github.com/PowerShell/PowerShell/pull/19400/files/0185fcc0b0c97b0de7de5249dbbadb972add6fcb |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
CL-Engine
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Engine |
|
Extra Small
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22 |
|
Particular code completion crashes PowerShell
| https://github.com/PowerShell/PowerShell/issues/19399 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19400 |
|
| https://github.com/MartinGC94 |
|
| https://github.com/daxian-dbw |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |