Skip to content

Commit 881ed59

Browse files
author
Sébastien Geiser
committed
Cleaning
1 parent 0de8645 commit 881ed59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,9 +2124,9 @@ protected virtual bool EvaluateVarOrFunc(string expression, Stack<object> stack,
21242124
if (Variables.ContainsKey(varFuncName))
21252125
throw new ExpressionEvaluatorSyntaxErrorException($"Can not declare a new variable named [{varFuncName}]. A variable with this name already exists");
21262126
else if (varFuncMatch.Groups["varKeyword"].Success)
2127-
throw new ExpressionEvaluatorSyntaxErrorException($"Can not declare a variable wih type and var keyword.");
2127+
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable wih type and var keyword.");
21282128
else if (varFuncMatch.Groups["dynamicKeyword"].Success)
2129-
throw new ExpressionEvaluatorSyntaxErrorException($"Can not declare a variable wih type and dynamic keyword.");
2129+
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable wih type and dynamic keyword.");
21302130

21312131
stack.Pop();
21322132

0 commit comments

Comments
 (0)