You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix NullRefEx bug when accessing scriptFile.ReferencedFiles
This happens because the ScriptFile ctor does not initialize all its
public props. I added initialization for the other public props
except for the ScriptAst prop. I don't see an empty Ast. Perhaps null
is OK for this prop?
This address vscode-powershell bug PowerShell/vscode-powershell#1675
Also, for the 2.0.0 branch, we should see if we can use Array.Empty<>()
for initialization. It isn't availble to net45x. :-(
0 commit comments