Prerequisites
Steps to reproduce
Push-Location function: # change to a non-file-system location
(TabExpansion2 'Get-ChildItem -LiteralPath $PSHOME -Fi').CompletionMatches.ListItemText
Pop-Location
Expected behavior
Actual behavior
That is, even though the file-system provider is implied by the -LiteralPath argument, tab-completing -Fi didn't surface the dynamic -File parameter.
Error details
No response
Environment data
PowerShell Core 7.4.0-preview.2 (behavior dates back to Windows PowerShell)
Visuals
No response