Skip to content

[WIP] Add support for type parameters in generic methods - #225

Draft
Andy Jordan (andyleejordan) with Copilot wants to merge 1 commit into
mainfrom
copilot/generic-method-type-parameter-support
Draft

[WIP] Add support for type parameters in generic methods#225
Andy Jordan (andyleejordan) with Copilot wants to merge 1 commit into
mainfrom
copilot/generic-method-type-parameter-support

Conversation

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Generic method type parameter support</issue_title>
<issue_description>PR PowerShell/PowerShell#12412 (comment) introduced support for supplying type parameters to generic methods, e.g.:

[Array]::Empty[int]()

While it kind of looks like it's already working ([int] is being highlighted the same way as [Array]) we should check for any edge cases and probably add some tests.</issue_description>

Comments on the Issue (you are Copilot in this section)

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.

Generic method type parameter support

2 participants