Title: Fall back to type inference when hashtable key value cannot be retrieved from safe expression by MartinGC94 · Pull Request #21184 · PowerShell/PowerShell · GitHub
Open Graph Title: Fall back to type inference when hashtable key value cannot be retrieved from safe expression by MartinGC94 · Pull Request #21184 · PowerShell/PowerShell
X Title: Fall back to type inference when hashtable key value cannot be retrieved from safe expression by MartinGC94 · Pull Request #21184 · PowerShell/PowerShell
Description: PR Summary
Updates the hashtable type inference so it falls back to type inference if the value of a safe expression evaluates to null (for example if a variable hasn't been assigned in the session yet)
$UnassignedVar = Get-ChildItem
$Hashtable = @{
Key1 = $UnassignedVar
}
$Hashtable.Key1.
Open Graph Description: PR Summary Updates the hashtable type inference so it falls back to type inference if the value of a safe expression evaluates to null (for example if a variable hasn't been assigned in the ses...
X Description: PR Summary Updates the hashtable type inference so it falls back to type inference if the value of a safe expression evaluates to null (for example if a variable hasn't been assigned in the...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/21184
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8d0b21fc-0094-bbe5-c79c-352f6433a612 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A5D4:2C8354:2F60611:445A7A3:6A552666 |
| html-safe-nonce | 04c006f6dbbb411807b16b96810f9973f706f45ebeb38db8c41248992832c810 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUQ0OjJDODM1NDoyRjYwNjExOjQ0NUE3QTM6NkE1NTI2NjYiLCJ2aXNpdG9yX2lkIjoiNDAxMjY5MDcwNDA4MjIxNjU1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36c97a0e87ce897715742d8de37ac949c9329f97656ac7df85fbb916680a1925 |
| hovercard-subject-tag | pull_request:1710493382 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/21184/files |
| twitter:image | https://avatars.githubusercontent.com/u/42123497?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/42123497?s=400&v=4 |
| og:image:alt | PR Summary Updates the hashtable type inference so it falls back to type inference if the value of a safe expression evaluates to null (for example if a variable hasn't been assigned in the ses... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 358dd24ad7465d20e3fae729b5b169d35b0dd7f8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width