Set StrictMode version 3.0 (#11563)

This commit is contained in:
xtqqczze
2020-02-03 09:44:10 -08:00
committed by GitHub
parent a34d0f3e80
commit 2014ce66c1
13 changed files with 77 additions and 58 deletions
@@ -887,7 +887,7 @@ class A
[int] GetX([Foo.Bar]$bar)
{
Set-StrictMode -Version latest
Set-StrictMode -Version 3.0
return $bar.x
}
}