mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
This change fixes 3 issues: - According to [PowerShell Language Specification Version 3.0](https://www.microsoft.com/en-us/download/details.aspx?id=36389), as quoted: "_The result is the (possibly empty) unconstrained 1-dimensional array_", `@(...)` should only return `object[]` array. - `@([object[]]$null).GetType()` fails with error `"You cannot call a method on a null-valued expression."` - `@([System.Collections.Generic.List[object]]$null)` fails with error `"Object reference not set to an instance of an object."`