Patrick Meinecke
Patrick Meinecke
Fair points, opening back up to the cmdlets working group to decide if the implementation for `-IsValid` should change
I was in the discussion and for what it's worth I also agree that "by design" feels incorrect. The logic was that its design was purely to capture locals, which...
> Repro steps don't work 😕 Can you elaborate a bit on what's happening differently for you? Here's what I get: 
The Engine WG discussed this and agree that we should fix this if it's possible to do so without impactful breaking changes.
The Engine WG discussed this and agree that supporting the new static interfaces would be desired. Implementers should pick a single area to light up support per PR (where possible)...
I don't have gvim installed atm but can you try this? ```powershell echo aaaa | gvim - | echo ``` iirc that forced AutoHotkey to work in a similar situation
> The private variable `$foo` is now in global scope, as if the execution of `$HOME/Documents/PowerShell/Microsoft.PowerShell_profile.ps1` never finished and I'm still inside the scope of the script. The profile is...
It's definitely true that most of PowerShell's binders skew towards returning `object`, and definitely true that expression trees are missing some new (and old) capabilities. Thankfully none of that should...
So take this code ```ps $null = [byte[]](0xFFuy, 0xEEuy, "HaHa - No") ``` this currently compiles to something like this: ```cs Fake.Dynamic( PSConvertBinder.Get(typeof(byte[])))( new object[] { 255, 238, "HaHa -...
This would have to be further restricted to expressions unlikely to have side effects. For instance, take this code: ```ps [byte[]](0, 1, 2, 3, 'fail', (Write-Host test)) ``` Currently, `test`...