@@ -1064,7 +1064,7 @@ internal static Expression CallSetVariable(Expression variablePath, Expression r
1064
1064
1065
1065
internal Expression GetAutomaticVariable ( VariableExpressionAst varAst )
1066
1066
{
1067
- // Generate, in psuedo code:
1067
+ // Generate, in pseudo code:
1068
1068
//
1069
1069
// return (localsTuple.IsValueSet(tupleIndex)
1070
1070
// ? localsTuple.ItemXXX
@@ -1074,7 +1074,7 @@ internal Expression GetAutomaticVariable(VariableExpressionAst varAst)
1074
1074
//
1075
1075
// * $PSCmdlet - always set if the script uses cmdletbinding.
1076
1076
// * $_ - always set in process and end block, otherwise need dynamic checks.
1077
- // * $this - can never know if it's set, always need above psuedo code.
1077
+ // * $this - can never know if it's set, always need above pseudo code.
1078
1078
// * $input - also can never know - it's always set from a command process, but not necessarily set from ScriptBlock.Invoke.
1079
1079
//
1080
1080
// These optimizations are not yet performed.
@@ -3907,7 +3907,7 @@ private Expression GetRedirectedExpression(CommandExpressionAst commandExpr, boo
3907
3907
// funcContext.OutputPipe = oldPipe;
3908
3908
// }
3909
3909
//
3910
- // In the above psuedo -code, any of {outputFileRedirection, nonOutputFileRedirection, mergingRedirection} may
3910
+ // In the above pseudo -code, any of {outputFileRedirection, nonOutputFileRedirection, mergingRedirection} may
3911
3911
// not exist, but the order is preserved, so that file redirections go before merging redirections (so that
3912
3912
// funcContext.OutputPipe has the correct value when setting up merging.)
3913
3913
//
@@ -5178,7 +5178,7 @@ public object VisitCatchClause(CatchClauseAst catchClauseAst)
5178
5178
// If the automatic var has no value in the current frame, then we set the variable's value to $null
5179
5179
// after leaving the stmt.
5180
5180
//
5181
- // The psuedo -code:
5181
+ // The pseudo -code:
5182
5182
//
5183
5183
// try {
5184
5184
// oldValue = (localSet.Get(automaticVar)) ? locals.ItemNNN : null;
0 commit comments