Title: Tab completion type inference does not account for generic method invocation with explicit type parameters · Issue #16934 · PowerShell/PowerShell · GitHub
Open Graph Title: Tab completion type inference does not account for generic method invocation with explicit type parameters · Issue #16934 · PowerShell/PowerShell
X Title: Tab completion type inference does not account for generic method invocation with explicit type parameters · Issue #16934 · PowerShell/PowerShell
Description: Steps to reproduce TabExpansion2 -inputScript ($s = '[array]::Empty[int]().') -cursorColumn $s.Length | % CompletionMatches | select -f 5 Expected behavior CompletionText ListItemText ResultType ToolTip -------------- ------------ ------...
Open Graph Description: Steps to reproduce TabExpansion2 -inputScript ($s = '[array]::Empty[int]().') -cursorColumn $s.Length | % CompletionMatches | select -f 5 Expected behavior CompletionText ListItemText ResultType To...
X Description: Steps to reproduce TabExpansion2 -inputScript ($s = '[array]::Empty[int]().') -cursorColumn $s.Length | % CompletionMatches | select -f 5 Expected behavior CompletionText ListItemText Resul...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/16934
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tab completion type inference does not account for generic method invocation with explicit type parameters","articleBody":"### Steps to reproduce\r\n\r\n```powershell\r\nTabExpansion2 -inputScript ($s = '[array]::Empty[int]().') -cursorColumn $s.Length |\r\n % CompletionMatches |\r\n select -f 5\r\n```\r\n\r\n### Expected behavior\r\n\r\n```console\r\nCompletionText ListItemText ResultType ToolTip\r\n-------------- ------------ ---------- -------\r\nCount Count Property int Count { get; }\r\nIsFixedSize IsFixedSize Property bool IsFixedSize { get; }\r\nIsReadOnly IsReadOnly Property bool IsReadOnly { get; }\r\nIsSynchronized IsSynchronized Property bool IsSynchronized { get; }\r\nLength Length Property int Length { get; }\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nNo results\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 7.3.0-preview.2\r\nPSEdition Core\r\nGitCommitId 7.3.0-preview.2\r\nOS Microsoft Windows 10.0.19042\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/SeeminglyScience","@type":"Person","name":"SeeminglyScience"},"datePublished":"2022-02-28T16:51:44Z","url":"https://github.com/PowerShell/PowerShell/issues/16934"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4faebab-78ce-9533-abe4-f8ce62fc8edb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC3A:14406C:9875B1:DA7DC8:6AFD8B19 |
| html-safe-nonce | 27d187a841da35ca15853b12cc0a53a53c609596b2af07e67cedb182b06efa29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzNBOjE0NDA2Qzo5ODc1QjE6REE3REM4OjZBRkQ4QjE5IiwidmlzaXRvcl9pZCI6Ijc3Mjc1ODI4OTUzNzEyOTE0MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e7005c30ddaafba1883589a199c011fc6eff57250c63d16f6c1162c4207898bc |
| hovercard-subject-tag | issue:1154322535 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/PowerShell/PowerShell/16934/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b0930cc1fcb16f27099d89d7f74ad9dc479c769a11422e05b576c83aafaee55/PowerShell/PowerShell/issues/16934 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b0930cc1fcb16f27099d89d7f74ad9dc479c769a11422e05b576c83aafaee55/PowerShell/PowerShell/issues/16934 |
| og:image:alt | Steps to reproduce TabExpansion2 -inputScript ($s = '[array]::Empty[int]().') -cursorColumn $s.Length | % CompletionMatches | select -f 5 Expected behavior CompletionText ListItemText ResultType To... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SeeminglyScience |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width