PowerShell/test/powershell/engine/Api
Patrick Meinecke b4ebf63335 Improve type inference of array literals and foreach statement variables (#8100)
Improve type inference for foreach statement variables by:

Inferring strongly typed arrays from explicit array and array literal expressions when elements are of the same inferred type

Fix detection of foreach variable declaration. The previous logic was to check if the variable expression's start offset was after the end offset of the foreach statement, which will never be true in the body

Improve inference of what type the "Condition" of a foreach statement will enumerate as
2019-03-19 13:36:27 -07:00
..
assets Reorganize some engine tests to make it clean (#4551) 2017-08-14 13:49:28 +04:00
BasicEngine.Tests.ps1 Add S.M.A.PowerShell.Create method overload with Runspace argument (#8057) 2019-01-07 11:04:42 -08:00
GetNewClosure.Tests.ps1 Use new Pester syntax: -Parameter for Pester tests in engine. (#6298) 2018-03-14 12:13:32 -07:00
InitialSessionState.Tests.ps1 Use new Pester syntax: -Parameter for Pester tests in engine. (#6298) 2018-03-14 12:13:32 -07:00
LanguagePrimitive.Tests.ps1 Adding 'LanguagePrimitives.TryCompare' to provide faster comparisons (#7438) 2018-08-10 10:20:27 -07:00
ProxyCommand.Tests.ps1 Use new Pester syntax: -Parameter for Pester tests in engine. (#6298) 2018-03-14 12:13:32 -07:00
Serialization.Tests.ps1 Use new Pester syntax: -Parameter for Pester tests in engine. (#6298) 2018-03-14 12:13:32 -07:00
TaskBasedAsyncPowerShellAPI.Tests.ps1 Update the task-based async APIs added to PowerShell to return a Task object directly (#9079) 2019-03-07 11:24:31 -08:00
TypeInference.Tests.ps1 Improve type inference of array literals and foreach statement variables (#8100) 2019-03-19 13:36:27 -07:00