b4ebf63335
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 |
||
---|---|---|
.. | ||
assets | ||
BasicEngine.Tests.ps1 | ||
GetNewClosure.Tests.ps1 | ||
InitialSessionState.Tests.ps1 | ||
LanguagePrimitive.Tests.ps1 | ||
ProxyCommand.Tests.ps1 | ||
Serialization.Tests.ps1 | ||
TaskBasedAsyncPowerShellAPI.Tests.ps1 | ||
TypeInference.Tests.ps1 |