Flavien MICHALECZEK

Results 57 comments of Flavien MICHALECZEK

@rjmholt rjmholt One of my old issues about classes (from MS Connect) was not on your, so I search all issues open (missed + new) and compare with your list...

I began to report classes issues with PS 5.0 Preview April and nothing has changed in 4 years. (no interface, forbidden methods names not consistant, override isn't implemented , bugged...

@MatejKafka it's a duplicate of https://github.com/PowerShell/PowerShell/issues/3669

> > @MatejKafka it's a duplicate of #3669 > > No, I don't believe it is. The referenced issue discusses the case where output is NOT assigned to `$null` (or...

@MatejKafka This is the minimal reproduction without any function ``` $a = if ($true) { Write-Output "this should not be visible" return "this should not be visible too" } $null...

![image](https://user-images.githubusercontent.com/6187529/182735695-d233ae7f-8ab3-4dc9-9d65-ec7202dd4e89.png) https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_return?view=powershell-7.2 I understand that return is an accumulator, so the behavior is compliant, but the documentation should be more explicit and detailed. If anyone else can confirm, we might...

@iSazonov There is no feedback and I am agree with you, so should it be possible to ask for the committee to have a look ? If not it will...

@daxian-dbw @iSazonov I’ll dig in tomorrow and give you a detailed report on what works, what doesn’t. and I will include Single Executable Compressed scenario because it's complicated to copy...

@iSazonov using is also blocked in a scriptblock.