Steps to reproduce
$script = '[CmdletBinding()]
param(
# Parameter help description
[Parameter(Mandatory = $false)]
[ParameterType]
$ParameterName
)
$false'
TabExpansion2 -inputScript $script -cursorColumn $script.Length | % CompletionMatches
Expected behavior
CompletionText ListItemText ResultType ToolTip
-------------- ------------ ---------- -------
$false false Variable [bool]$false
Actual behavior
CompletionText ListItemText ResultType ToolTip
-------------- ------------ ---------- -------
$false false Variable [ParameterType]$false
Error details
No response
Environment data
Name Value
---- -----
PSVersion 7.3.0
PSEdition Core
GitCommitId 7.3.0
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Steps to reproduce
Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response