PowerShell/test/powershell/Language
Dongbo Wang 0d8eff6446 Fix array expression to not return null or throw error (#4296)
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."`
2017-07-24 21:52:30 -07:00
..
Classes PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Interop/DotNet
Operators
Parser PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Scripting Fix array expression to not return null or throw error (#4296) 2017-07-24 21:52:30 -07:00
CompletionTestSupport.psm1
map.json